Add question to RequestForComment model

This commit is contained in:
Maximilian Grundke
2016-04-26 13:58:49 +02:00
parent 171678d489
commit 07fa0ef2a9
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddQuestionToRequestForComments < ActiveRecord::Migration
def change
add_column :request_for_comments, :question, :text
end
end

View File

@ -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|