Browse Source

Add mortgage lender fields to the sales table

pull/1164/head
Kat 3 years ago
parent
commit
611f2bb896
  1. 8
      db/migrate/20230109144039_add_mortgage_lender.rb
  2. 2
      db/schema.rb

8
db/migrate/20230109144039_add_mortgage_lender.rb

@ -0,0 +1,8 @@
class AddMortgageLender < ActiveRecord::Migration[7.0]
def change
change_table :sales_logs, bulk: true do |t|
t.column :mortgagelender, :integer
t.column :mortgagelenderother, :string
end
end
end

2
db/schema.rb

@ -491,6 +491,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_13_125117) do
t.integer "pcodenk"
t.string "postcode_full"
t.boolean "is_la_inferred"
t.integer "mortgagelender"
t.string "mortgagelenderother"
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 ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save