```ruby
class CreateResponses < ActiveRecord::Migration
  def change
    create_table :responses do |t|
      t.integer :potential_reply_id, null: false
      t.integer :response_id, null: false
      t.integer :survey_id, null: false
      t.integer :question_id, null: false

      t.timestamps null: false
    end
  end
end
```

Correct field name in responses migration
user
```ruby
class CreateResponses < ActiveRecord::Migration
  def change
    create_table :responses do |t|
      t.integer :potential_reply_id, null: false
      t.integer :responder_id, null: false
      t.integer :survey_id, null: false
      t.integer :question_id, null: false

      t.timestamps null: false
    end
  end
end
```
assistant