diff --git a/db/migrate/20170130171322_remove_summary_from_poll_question.rb b/db/migrate/20170130171322_remove_summary_from_poll_question.rb new file mode 100644 index 000000000..02c5fb68e --- /dev/null +++ b/db/migrate/20170130171322_remove_summary_from_poll_question.rb @@ -0,0 +1,5 @@ +class RemoveSummaryFromPollQuestion < ActiveRecord::Migration + def change + remove_column :poll_questions, :summary + end +end diff --git a/db/schema.rb b/db/schema.rb index 88a43f82f..544d2a6ff 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: 20170130163030) do +ActiveRecord::Schema.define(version: 20170130171322) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -443,7 +443,6 @@ ActiveRecord::Schema.define(version: 20170130163030) do t.integer "author_id" t.string "author_visible_name" t.string "title" - t.string "summary" t.string "valid_answers" t.text "description" t.integer "comments_count"