diff --git a/db/migrate/20221215161301_add_housing_benefits_to_sales.rb b/db/migrate/20221215161301_add_housing_benefits_to_sales.rb new file mode 100644 index 000000000..e724ac1a9 --- /dev/null +++ b/db/migrate/20221215161301_add_housing_benefits_to_sales.rb @@ -0,0 +1,7 @@ +class AddHousingBenefitsToSales < ActiveRecord::Migration[7.0] + def change + change_table :sales_logs, bulk: true do |t| + t.column :hb, :integer + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 8418104e8..232ff5d4c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -457,6 +457,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_04_164318) do t.integer "prevten" t.integer "savings_value_check" t.integer "deposit_value_check" + t.integer "hb" 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"