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

13 lines
245 B
Ruby
Raw Normal View History

2014-02-09 18:05:57 +02:00
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