Browse Source
* Update hb question options * add has benefits field * derive has_benefits * update benefit question options * Add nocharge field * Add rent period question and check multiple condition sets for depends_on * update rent period answer options * Add carehome questions and move the remaining rent questions to income and benefits section * Reset incfreq and incref and update rent routing based on periodspull/217/head
kosiakkatrina
3 years ago
committed by
GitHub
22 changed files with 817 additions and 156 deletions
@ -0,0 +1,7 @@
|
||||
class AddHasBenefitsField < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :case_logs, bulk: true do |t| |
||||
t.column :has_benefits, :string |
||||
end |
||||
end |
||||
end |
@ -0,0 +1,7 @@
|
||||
class AddNochargeField < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :case_logs, bulk: true do |t| |
||||
t.column :nocharge, :integer |
||||
end |
||||
end |
||||
end |
@ -0,0 +1,8 @@
|
||||
class AddCareHomeChargeFields < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :case_logs, bulk: true do |t| |
||||
t.column :is_carehome, :integer |
||||
t.column :chcharge, :decimal |
||||
end |
||||
end |
||||
end |
@ -0,0 +1,7 @@
|
||||
class AddHouseholdChargeField < ActiveRecord::Migration[7.0] |
||||
def change |
||||
change_table :case_logs, bulk: true do |t| |
||||
t.column :household_charge, :integer |
||||
end |
||||
end |
||||
end |
Loading…
Reference in new issue