Browse Source

Update schema

CLDC-1530-working-situation
Kat 2 years ago
parent
commit
ac44ef847b
  1. 3
      db/migrate/20221214110208_add_ecstat3_to_sales.rb
  2. 5
      db/schema.rb

3
db/migrate/20221214110208_add_ecstat3_to_sales.rb

@ -2,6 +2,9 @@ class AddEcstat3ToSales < ActiveRecord::Migration[7.0]
def change
change_table :sales_logs, bulk: true do |t|
t.column :ecstat3, :integer
t.column :ecstat4, :integer
t.column :ecstat5, :integer
t.column :ecstat6, :integer
end
end
end

5
db/schema.rb

@ -410,8 +410,11 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_14_110208) do
t.integer "mortgage"
t.integer "inc2mort"
t.integer "mortgage_value_check"
t.integer "ecstat3"
t.bigint "updated_by_id"
t.integer "ecstat3"
t.integer "ecstat4"
t.integer "ecstat5"
t.integer "ecstat6"
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