Browse Source

Remove organisation_name_changes table from schema

pull/3054/head
Manny Dinssa 2 weeks ago
parent
commit
2c2c382ddb
  1. 5
      db/migrate/20250416101343_drop_organisation_name_changes_table.rb
  2. 12
      db/schema.rb

5
db/migrate/20250416101343_drop_organisation_name_changes_table.rb

@ -1,5 +0,0 @@
class DropOrganisationNameChangesTable < ActiveRecord::Migration[7.2]
def change
drop_table :organisation_name_changes, if_exists: true
end
end

12
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"

Loading…
Cancel
Save