diff --git a/db/migrate/20230127102334_add_monthly_charges_value_check.rb b/db/migrate/20230127102334_add_monthly_charges_value_check.rb new file mode 100644 index 000000000..a8b118022 --- /dev/null +++ b/db/migrate/20230127102334_add_monthly_charges_value_check.rb @@ -0,0 +1,7 @@ +class AddMonthlyChargesValueCheck < ActiveRecord::Migration[7.0] + def change + change_table :sales_logs, bulk: true do |t| + t.column :monthly_charges_value_check, :integer + end + end +end diff --git a/db/schema.rb b/db/schema.rb index dc431d425..95e7799a1 100644 --- a/db/schema.rb +++ b/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_26_145529) do +ActiveRecord::Schema[7.0].define(version: 2023_01_27_102334) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -509,6 +509,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_26_145529) do t.integer "deposit_and_mortgage_value_check" t.integer "shared_ownership_deposit_value_check" t.integer "old_persons_shared_ownership_value_check" + t.integer "monthly_charges_value_check" t.index ["bulk_upload_id"], name: "index_sales_logs_on_bulk_upload_id" t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"