Browse Source

Update schema since rails 7 (#2282)

* feat: update schema since rails 7

* feat: update tests
pull/2280/head^2
natdeanlewissoftwire 10 months ago committed by GitHub
parent
commit
927217f82c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 12
      db/schema.rb
  2. 2
      spec/fixtures/exports/general_needs_log_24_25.xml

12
db/schema.rb

@ -193,14 +193,14 @@ ActiveRecord::Schema[7.0].define(version: 2024_02_16_163519) do
t.integer "hb" t.integer "hb"
t.integer "hbrentshortfall" t.integer "hbrentshortfall"
t.integer "property_relet" t.integer "property_relet"
t.datetime "mrcdate" t.datetime "mrcdate", precision: nil
t.integer "incref" t.integer "incref"
t.datetime "startdate" t.datetime "startdate", precision: nil
t.integer "armedforces" t.integer "armedforces"
t.integer "first_time_property_let_as_social_housing" t.integer "first_time_property_let_as_social_housing"
t.integer "unitletas" t.integer "unitletas"
t.integer "builtype" t.integer "builtype"
t.datetime "voiddate" t.datetime "voiddate", precision: nil
t.bigint "owning_organisation_id" t.bigint "owning_organisation_id"
t.bigint "managing_organisation_id" t.bigint "managing_organisation_id"
t.integer "renttype" 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 "scharge_value_check"
t.integer "pscharge_value_check" t.integer "pscharge_value_check"
t.integer "duplicate_set_id" t.integer "duplicate_set_id"
t.integer "accessible_register"
t.integer "nationality_all" t.integer "nationality_all"
t.integer "nationality_all_group" t.integer "nationality_all_group"
t.integer "reasonother_value_check" t.integer "reasonother_value_check"
t.integer "accessible_register"
t.index ["bulk_upload_id"], name: "index_lettings_logs_on_bulk_upload_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" 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 ["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.string "name"
t.bigint "organisation_id" t.bigint "organisation_id"
t.integer "sign_in_count", default: 0, null: false t.integer "sign_in_count", default: 0, null: false
t.datetime "current_sign_in_at" t.datetime "current_sign_in_at", precision: nil
t.datetime "last_sign_in_at" t.datetime "last_sign_in_at", precision: nil
t.string "current_sign_in_ip" t.string "current_sign_in_ip"
t.string "last_sign_in_ip" t.string "last_sign_in_ip"
t.integer "role" t.integer "role"

2
spec/fixtures/exports/general_needs_log_24_25.xml vendored

@ -144,8 +144,8 @@
<discarded_at/> <discarded_at/>
<creation_method>1</creation_method> <creation_method>1</creation_method>
<duplicate_set_id/> <duplicate_set_id/>
<nationality_all/>
<accessible_register>2</accessible_register> <accessible_register>2</accessible_register>
<nationality_all/>
<formid>{id}</formid> <formid>{id}</formid>
<owningorgid>{owning_org_id}</owningorgid> <owningorgid>{owning_org_id}</owningorgid>
<owningorgname>DLUHC</owningorgname> <owningorgname>DLUHC</owningorgname>

Loading…
Cancel
Save