From ef4eab67e856108a2e36a5126b0e80a4a398761d Mon Sep 17 00:00:00 2001 From: Kat Date: Fri, 2 Dec 2022 10:33:41 +0000 Subject: [PATCH] Reset schema and tests --- db/schema.rb | 3 --- spec/factories/sales_log.rb | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index 912eba818..63ee0cb69 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -237,7 +237,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_02_100512) do t.integer "void_date_value_check" t.integer "housingneeds_type" t.integer "housingneeds_other" - t.boolean "unresolved" 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"], name: "index_lettings_logs_on_managing_organisation_id" @@ -387,8 +386,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_02_100512) do t.integer "inc1mort" t.integer "income2" t.integer "income2nk" - t.integer "savingsnk" - t.integer "savings" t.integer "prevown" 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" diff --git a/spec/factories/sales_log.rb b/spec/factories/sales_log.rb index de136bc6a..2bcc7d1b2 100644 --- a/spec/factories/sales_log.rb +++ b/spec/factories/sales_log.rb @@ -58,6 +58,7 @@ FactoryBot.define do la_known { "1" } la { "E09000003" } savingsnk { 1 } + prevown { 1 } end end end