You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
482 B
17 lines
482 B
class RemoveCheckboxParentFields < ActiveRecord::Migration[7.0] |
|
def up |
|
change_table :case_logs, bulk: true do |t| |
|
t.remove :accessibility_requirements |
|
t.remove :condition_effects |
|
t.remove :reasonable_preference_reason |
|
end |
|
end |
|
|
|
def down |
|
change_table :case_logs, bulk: true do |t| |
|
t.column :accessibility_requirements, :string |
|
t.column :condition_effects, :string |
|
t.column :reasonable_preference_reason, :string |
|
end |
|
end |
|
end
|
|
|