2022-08-30 21:39:40 +02:00
|
|
|
class AddAvisEmailNotification < ActiveRecord::Migration[6.1]
|
2022-09-02 17:14:29 +02:00
|
|
|
def up
|
|
|
|
add_column :assign_tos, :instant_expert_avis_email_notifications_enabled, :boolean
|
|
|
|
change_column_default :assign_tos, :instant_expert_avis_email_notifications_enabled, false
|
|
|
|
end
|
|
|
|
|
|
|
|
def down
|
|
|
|
remove_column :assign_tos, :instant_expert_avis_email_notifications_enabled
|
2022-08-30 21:39:40 +02:00
|
|
|
end
|
|
|
|
end
|