diff --git a/db/migrate/20250130175808_remove_address_search_from_sales_logs.rb b/db/migrate/20250130175808_remove_address_search_from_sales_logs.rb new file mode 100644 index 000000000..c830cb046 --- /dev/null +++ b/db/migrate/20250130175808_remove_address_search_from_sales_logs.rb @@ -0,0 +1,5 @@ +class RemoveAddressSearchFromSalesLogs < ActiveRecord::Migration[7.2] + def change + remove_column :sales_logs, :address_search, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 5d53c2f58..76147c982 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[7.2].define(version: 2025_01_10_150609) do +ActiveRecord::Schema[7.2].define(version: 2025_01_30_175808) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -373,6 +373,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_01_10_150609) do t.integer "partner_under_16_value_check" t.integer "multiple_partners_value_check" t.bigint "created_by_id" + t.string "address_search" t.index ["assigned_to_id"], name: "index_lettings_logs_on_assigned_to_id" t.index ["bulk_upload_id"], name: "index_lettings_logs_on_bulk_upload_id" t.index ["created_by_id"], name: "index_lettings_logs_on_created_by_id" @@ -769,7 +770,6 @@ ActiveRecord::Schema[7.2].define(version: 2025_01_10_150609) do t.datetime "initialpurchase" t.integer "has_management_fee" t.decimal "management_fee", precision: 10, scale: 2 - t.string "address_search" t.index ["assigned_to_id"], name: "index_sales_logs_on_assigned_to_id" t.index ["bulk_upload_id"], name: "index_sales_logs_on_bulk_upload_id" t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id"