2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2022-11-09 17:05:21 -03:00
|
|
|
class CreateQuestions < ActiveRecord::Migration[4.2]
|
2014-02-09 18:05:57 +02:00
|
|
|
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
|