|
|
|
|
@ -408,10 +408,8 @@ ActiveRecord::Schema[7.2].define(version: 2026_02_25_162121) do
|
|
|
|
|
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" |
|
|
|
|
t.index ["location_id"], name: "index_lettings_logs_on_location_id" |
|
|
|
|
t.index ["managing_organisation_id", "id"], name: "index_lettings_logs_on_managing_org_and_id_desc", order: { id: :desc } |
|
|
|
|
t.index ["managing_organisation_id"], name: "index_lettings_logs_on_managing_organisation_id" |
|
|
|
|
t.index ["old_id"], name: "index_lettings_logs_on_old_id", unique: true |
|
|
|
|
t.index ["owning_organisation_id", "id"], name: "index_lettings_logs_on_owning_org_and_id_desc", order: { id: :desc } |
|
|
|
|
t.index ["owning_organisation_id"], name: "index_lettings_logs_on_owning_organisation_id" |
|
|
|
|
t.index ["scheme_id"], name: "index_lettings_logs_on_scheme_id" |
|
|
|
|
t.index ["updated_by_id"], name: "index_lettings_logs_on_updated_by_id" |
|
|
|
|
@ -829,10 +827,8 @@ ActiveRecord::Schema[7.2].define(version: 2026_02_25_162121) do
|
|
|
|
|
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" |
|
|
|
|
t.index ["managing_organisation_id", "id"], name: "index_sales_logs_on_managing_org_and_id_desc", order: { id: :desc } |
|
|
|
|
t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" |
|
|
|
|
t.index ["old_id"], name: "index_sales_logs_on_old_id", unique: true |
|
|
|
|
t.index ["owning_organisation_id", "id"], name: "index_sales_logs_on_owning_org_and_id_desc", order: { id: :desc } |
|
|
|
|
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 |
|
|
|
|
|