2018-02-09 19:07:10 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2020-05-11 12:38:36 -07:00
|
|
|
class CreateSurveyReplies < ActiveRecord::Migration[5.0]
|
2016-06-28 18:16:06 +03:00
|
|
|
def change
|
|
|
|
|
create_table :survey_replies do |t|
|
|
|
|
|
t.integer :survey_question_id
|
|
|
|
|
t.integer :user_id
|
|
|
|
|
t.text :text
|
|
|
|
|
|
|
|
|
|
t.timestamps null: false
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|