Create 'poll_question_answers' table
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class CreatePollQuestionAnswers < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :poll_question_answers do |t|
|
||||
t.string :title
|
||||
t.text :description
|
||||
t.references :poll_question, index: true, foreign_key: true
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user