3 changed files with 40 additions and 12 deletions
@ -0,0 +1,17 @@ |
|||||||
|
class AddConditionEffectsFields < ActiveRecord::Migration[6.1] |
||||||
|
def change |
||||||
|
change_table :case_logs, bulk: true do |t| |
||||||
|
t.column :condition_effects_vision, :boolean |
||||||
|
t.column :condition_effects_hearing, :boolean |
||||||
|
t.column :condition_effects_mobility, :boolean |
||||||
|
t.column :condition_effects_dexterity, :boolean |
||||||
|
t.column :condition_effects_stamina, :boolean |
||||||
|
t.column :condition_effects_learning, :boolean |
||||||
|
t.column :condition_effects_memory, :boolean |
||||||
|
t.column :condition_effects_mental_health, :boolean |
||||||
|
t.column :condition_effects_social_or_behavioral, :boolean |
||||||
|
t.column :condition_effects_other, :boolean |
||||||
|
t.column :condition_effects_prefer_not_to_say, :boolean |
||||||
|
end |
||||||
|
end |
||||||
|
end |
Loading…
Reference in new issue