質問編集履歴
1
コードの重複
    
        title	
    CHANGED
    
    | 
            File without changes
         | 
    
        body	
    CHANGED
    
    | @@ -10,7 +10,7 @@ | |
| 10 10 | 
             
            class CreateComments < ActiveRecord::Migration[7.0]
         | 
| 11 11 | 
             
              def change
         | 
| 12 12 | 
             
                create_table :comments do |t|
         | 
| 13 | 
            -
             | 
| 13 | 
            +
                 
         | 
| 14 14 |  | 
| 15 15 | 
             
                  t.string :image
         | 
| 16 16 | 
             
                  t.integer :user_id
         |