```ruby
class CreateQuestions < ActiveRecord::Migration
  def change
    create_table :questions do |t|
      t.string :body, null: false
      t.timestamps null: false
    end
  end
end
```

Add missing 'survey_id' field to questions migration
user
```ruby
class CreateQuestions < ActiveRecord::Migration
  def change
    create_table :questions do |t|
      t.string :body, null: false
      t.integer :survey_id, null: false
      t.timestamps null: false
    end
  end
end
```
assistant