From 2c2c382ddb086b2ba994c4b2817554f28c2df4b3 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Wed, 16 Apr 2025 11:25:54 +0100 Subject: [PATCH] Remove organisation_name_changes table from schema --- ...416101343_drop_organisation_name_changes_table.rb | 5 ----- db/schema.rb | 12 ------------ 2 files changed, 17 deletions(-) delete mode 100644 db/migrate/20250416101343_drop_organisation_name_changes_table.rb diff --git a/db/migrate/20250416101343_drop_organisation_name_changes_table.rb b/db/migrate/20250416101343_drop_organisation_name_changes_table.rb deleted file mode 100644 index bf2a11c40..000000000 --- a/db/migrate/20250416101343_drop_organisation_name_changes_table.rb +++ /dev/null @@ -1,5 +0,0 @@ -class DropOrganisationNameChangesTable < ActiveRecord::Migration[7.2] - def change - drop_table :organisation_name_changes, if_exists: true - end -end diff --git a/db/schema.rb b/db/schema.rb index 8aab580eb..e29560461 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -497,18 +497,6 @@ ActiveRecord::Schema[7.2].define(version: 2025_03_05_092900) do t.boolean "show_additional_page" end - create_table "organisation_name_changes", force: :cascade do |t| - t.bigint "organisation_id", null: false - t.string "name", null: false - t.integer "change_type" - t.date "startdate", null: false - t.datetime "discarded_at" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.index ["organisation_id", "startdate"], name: "index_org_name_changes_on_org_id_and_startdate", unique: true - t.index ["organisation_id"], name: "index_organisation_name_changes_on_organisation_id" - end - create_table "organisation_relationships", force: :cascade do |t| t.integer "child_organisation_id" t.integer "parent_organisation_id"