Merge pull request #2074 from consul/chore/remove_deprecated_valid_answers

[FROZEN] Remove deprecated Poll::Question valid_answers attribute
This commit is contained in:
BertoCQ
2017-10-19 11:06:29 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class RemovePollQuestionValidAnswers < ActiveRecord::Migration
def change
remove_column :poll_questions, :valid_answers
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: 20171010143623) do
ActiveRecord::Schema.define(version: 20171017221546) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -676,7 +676,6 @@ ActiveRecord::Schema.define(version: 20171010143623) do
t.integer "author_id"
t.string "author_visible_name"
t.string "title"
t.string "valid_answers"
t.integer "comments_count"
t.datetime "hidden_at"
t.datetime "created_at"