13 lines
261 B
Ruby
13 lines
261 B
Ruby
|
class CreatePollQuestions < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :poll_questions do |t|
|
||
|
t.string :question_title
|
||
|
t.integer :question_type
|
||
|
t.integer :is_necessary
|
||
|
t.integer :polls_id
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|