Add the possibility to disable weekly email notifications (instructeur) && rename the column email_notifications_enabled to daily_email_notification_enabled

This commit is contained in:
kara Diaby 2020-02-11 15:51:15 +01:00 committed by GitHub Action
parent 35b608fb7d
commit 0b8a59d5e9
6 changed files with 33 additions and 8 deletions

View file

@ -0,0 +1,5 @@
class AddWeeklyEmailNotificationsToAssignTos < ActiveRecord::Migration[5.2]
def change
add_column :assign_tos, :weekly_email_notifications_enabled, :boolean, default: true, null: false
end
end