Skip to content

Commit

Permalink
Remove db entries for Brexit callout
Browse files Browse the repository at this point in the history
This configuration is no longer used, as it has been removed from both
the admin app interface and the frontend.
  • Loading branch information
sihugh committed Aug 10, 2021
1 parent 894c181 commit ac18549
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
@@ -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
11 changes: 1 addition & 10 deletions db/schema.rb
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ac18549

Please sign in to comment.