You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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
|