Legislation Answer model

This commit is contained in:
Amaia Castro
2016-12-27 11:02:27 +01:00
parent 573e281a8f
commit 5e01b380cd
8 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class CreateLegislationAnswers < ActiveRecord::Migration
def change
create_table :legislation_answers do |t|
t.references :legislation_question, index: true
t.references :legislation_question_option, index: true
t.references :user, index: true
t.datetime :hidden_at, index: true
t.timestamps null: false
end
end
end