Browse Source

Reset schema and tests

pull/1054/head
Kat 4 years ago
parent
commit
ef4eab67e8
  1. 3
      db/schema.rb
  2. 1
      spec/factories/sales_log.rb

3
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 "void_date_value_check"
t.integer "housingneeds_type" t.integer "housingneeds_type"
t.integer "housingneeds_other" t.integer "housingneeds_other"
t.boolean "unresolved"
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"
t.index ["managing_organisation_id"], name: "index_lettings_logs_on_managing_organisation_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 "inc1mort"
t.integer "income2" t.integer "income2"
t.integer "income2nk" t.integer "income2nk"
t.integer "savingsnk"
t.integer "savings"
t.integer "prevown" t.integer "prevown"
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" 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" t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id"

1
spec/factories/sales_log.rb

@ -58,6 +58,7 @@ FactoryBot.define do
la_known { "1" } la_known { "1" }
la { "E09000003" } la { "E09000003" }
savingsnk { 1 } savingsnk { 1 }
prevown { 1 }
end end
end end
end end

Loading…
Cancel
Save