diff --git a/db/schema.rb b/db/schema.rb index 5b8e58122..620a49c79 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -365,7 +365,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_13_125117) do t.datetime "created_at", null: false t.datetime "updated_at", null: false t.bigint "owning_organisation_id" - t.bigint "managing_organisation_id" t.bigint "created_by_id" t.string "purchid" t.integer "type" @@ -488,18 +487,17 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_13_125117) do t.integer "mortgagelender" t.string "mortgagelenderother" t.integer "mortlen" - t.string "pcode1" - t.string "pcode2" - t.integer "pcodenk" - t.string "postcode_full" - t.boolean "is_la_inferred" t.integer "extrabor" t.integer "hhmemb" t.integer "totadult" t.integer "totchild" t.integer "hhtype" + t.string "pcode1" + t.string "pcode2" + t.integer "pcodenk" + t.string "postcode_full" + t.boolean "is_la_inferred" t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" - t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" t.index ["updated_by_id"], name: "index_sales_logs_on_updated_by_id" end