Browse Source

Add shared_ownership_deposit_value_check field

cldc-875-sales-validations-shared-ownership-cash-deposit-amount
Kat 2 years ago committed by Sam Seed
parent
commit
42960263fe
  1. 7
      db/migrate/20230123101256_add_shared_ownership_deposit_value_check.rb
  2. 3
      db/schema.rb

7
db/migrate/20230123101256_add_shared_ownership_deposit_value_check.rb

@ -0,0 +1,7 @@
class AddSharedOwnershipDepositValueCheck < ActiveRecord::Migration[7.0]
def change
change_table :sales_logs, bulk: true do |t|
t.column :shared_ownership_deposit_value_check, :integer
end
end
end

3
db/schema.rb

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_01_16_151942) do
ActiveRecord::Schema[7.0].define(version: 2023_01_23_101256) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -504,6 +504,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_16_151942) do
t.bigint "bulk_upload_id"
t.index ["bulk_upload_id"], name: "index_sales_logs_on_bulk_upload_id"
t.integer "retirement_value_check"
t.integer "shared_ownership_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