diff --git a/db/migrate/20210528141023_drop_brexit_no_deal_content_notice_links.rb b/db/migrate/20210528141023_drop_brexit_no_deal_content_notice_links.rb new file mode 100644 index 00000000000..9e7a4a88715 --- /dev/null +++ b/db/migrate/20210528141023_drop_brexit_no_deal_content_notice_links.rb @@ -0,0 +1,6 @@ +class DropBrexitNoDealContentNoticeLinks < ActiveRecord::Migration[6.0] + def up + drop_table :brexit_no_deal_content_notice_links + remove_column :editions, :show_brexit_no_deal_content_notice + end +end diff --git a/db/schema.rb b/db/schema.rb index e3c2cc9f146..31a234516cb 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2021_06_21_100917) do +ActiveRecord::Schema.define(version: 2021_08_09_141023) do create_table "about_pages", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t| t.integer "topical_event_id" @@ -80,14 +80,6 @@ t.index ["ordering"], name: "index_attachments_on_ordering" end - create_table "brexit_no_deal_content_notice_links", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t| - t.string "title" - t.string "url" - t.integer "edition_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - end - create_table "classification_featuring_image_data", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t| t.string "carrierwave_image" t.datetime "created_at" @@ -424,7 +416,6 @@ t.boolean "political", default: false t.string "logo_url" t.boolean "read_consultation_principles", default: false - t.boolean "show_brexit_no_deal_content_notice", default: false t.boolean "all_nation_applicability" t.string "image_display_option" t.index ["alternative_format_provider_id"], name: "index_editions_on_alternative_format_provider_id"