AutoCommit Don Jul 30 00:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-07-30 00:03:02 +02:00
parent 068c2a2e55
commit 97df081b33
66 changed files with 1542 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
class CreateSurveyAnswers < ActiveRecord::Migration
def change
create_table :survey_answers do |t|
t.references :choice
t.references :user
t.timestamps
end
add_index :survey_answers, :choice_id
add_index :survey_answers, :user_id
end
end