Files
prelang_test/db/migrate/20140227235843_create_answers.rb

11 lines
195 B
Ruby

class CreateAnswers < ActiveRecord::Migration
def change
create_table :answers do |t|
t.text :response
t.references :question, index: true
t.timestamps
end
end
end