osem-fcy/db/migrate/20140109190643_create_questions.rb

14 lines
276 B
Ruby

# frozen_string_literal: true
class CreateQuestions < ActiveRecord::Migration
def change
create_table :questions do |t|
t.string :title
t.references :question_type
t.integer :conference_id
t.boolean :global
t.timestamps
end
end
end