class CreateQuestions < ActiveRecord::Migration
  def change
    create_table :questions do |t|
      t.string :question_desc, null: false
      t.references :survey, null: false
      t.references :answer, null: false

      t.timestamps
    end
  end
end

class CreateQuestions < ActiveRecord::Migration
  def change
    create_table :questions do |t|
      t.string :question_desc, null: false
      t.references :survey, null: false
      t.references :answer

      t.timestamps
    end
  end
end

Remove null false validation on answer for question migration
Remove null false validation on answer for question migration
