class CreateQuestions < ActiveRecord::Migration[6.1]
  def change
    create_table :questions do |t|
      t.string :content
      t.belongs_to :quiz, null: false, foreign_key: true

      t.timestamps
    end
  end
end
