Removes summary from poll_questions table

This commit is contained in:
kikito
2017-01-30 18:30:53 +01:00
parent 0b013139ad
commit 4c54d9da55
2 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class RemoveSummaryFromPollQuestion < ActiveRecord::Migration
def change
remove_column :poll_questions, :summary
end
end

View File

@@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20170130163030) do ActiveRecord::Schema.define(version: 20170130171322) do
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@@ -443,7 +443,6 @@ ActiveRecord::Schema.define(version: 20170130163030) do
t.integer "author_id" t.integer "author_id"
t.string "author_visible_name" t.string "author_visible_name"
t.string "title" t.string "title"
t.string "summary"
t.string "valid_answers" t.string "valid_answers"
t.text "description" t.text "description"
t.integer "comments_count" t.integer "comments_count"