diff --git a/db/migrate/20160426114951_add_question_to_request_for_comments.rb b/db/migrate/20160426114951_add_question_to_request_for_comments.rb new file mode 100644 index 00000000..3c9fac17 --- /dev/null +++ b/db/migrate/20160426114951_add_question_to_request_for_comments.rb @@ -0,0 +1,5 @@ +class AddQuestionToRequestForComments < ActiveRecord::Migration + def change + add_column :request_for_comments, :question, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index 4ba78542..eadfd44e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20160302133540) do +ActiveRecord::Schema.define(version: 20160426114951) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -190,6 +190,7 @@ ActiveRecord::Schema.define(version: 20160302133540) do t.datetime "created_at" t.datetime "updated_at" t.string "user_type" + t.text "question" end create_table "submissions", force: true do |t|