sqm-dashboards/db/migrate/20170304020530_create_questions.rb
2017-03-03 22:00:07 -05:00

15 lines
309 B
Ruby

class CreateQuestions < ActiveRecord::Migration[5.0]
def change
create_table :questions do |t|
t.string :text
t.string :option1
t.string :option2
t.string :option3
t.string :option4
t.string :option5
t.integer :category_id
t.timestamps
end
end
end