Browse Source

Add deposit, savings and deposit value check fields to the db

pull/1102/head
Kat 3 years ago
parent
commit
bbb2179448
  1. 8
      db/migrate/20221216151616_add_savings_value_check.rb
  2. 2
      db/schema.rb

8
db/migrate/20221216151616_add_savings_value_check.rb

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

2
db/schema.rb

@ -455,6 +455,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_04_164318) do
t.integer "hhregresstill"
t.integer "proplen"
t.integer "prevten"
t.integer "savings_value_check"
t.integer "deposit_value_check"
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