From 927217f82c81ec5b7219e756dea28c59087b95d7 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Wed, 6 Mar 2024 08:28:30 +0000 Subject: [PATCH] Update schema since rails 7 (#2282) * feat: update schema since rails 7 * feat: update tests --- db/schema.rb | 12 ++++++------ spec/fixtures/exports/general_needs_log_24_25.xml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index b5b9c9fc0..b9ee98fcd 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -193,14 +193,14 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_16_163519) do t.integer "hb" t.integer "hbrentshortfall" t.integer "property_relet" - t.datetime "mrcdate" + t.datetime "mrcdate", precision: nil t.integer "incref" - t.datetime "startdate" + t.datetime "startdate", precision: nil t.integer "armedforces" t.integer "first_time_property_let_as_social_housing" t.integer "unitletas" t.integer "builtype" - t.datetime "voiddate" + t.datetime "voiddate", precision: nil t.bigint "owning_organisation_id" t.bigint "managing_organisation_id" t.integer "renttype" @@ -304,10 +304,10 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_16_163519) do t.integer "scharge_value_check" t.integer "pscharge_value_check" t.integer "duplicate_set_id" + t.integer "accessible_register" t.integer "nationality_all" t.integer "nationality_all_group" t.integer "reasonother_value_check" - t.integer "accessible_register" 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" @@ -712,8 +712,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_16_163519) do t.string "name" t.bigint "organisation_id" t.integer "sign_in_count", default: 0, null: false - t.datetime "current_sign_in_at" - t.datetime "last_sign_in_at" + t.datetime "current_sign_in_at", precision: nil + t.datetime "last_sign_in_at", precision: nil t.string "current_sign_in_ip" t.string "last_sign_in_ip" t.integer "role" diff --git a/spec/fixtures/exports/general_needs_log_24_25.xml b/spec/fixtures/exports/general_needs_log_24_25.xml index 488167b55..3a9893748 100644 --- a/spec/fixtures/exports/general_needs_log_24_25.xml +++ b/spec/fixtures/exports/general_needs_log_24_25.xml @@ -144,8 +144,8 @@ 1 - 2 + {id} {owning_org_id} DLUHC