From 1808a1f8e4b7b102823492a2007a46929aebf189 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Mar 2022 14:35:04 +0100 Subject: Add video edition finished notification --- server/models/user/user-notification-setting.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'server/models/user') diff --git a/server/models/user/user-notification-setting.ts b/server/models/user/user-notification-setting.ts index f03b19e41..b144f8377 100644 --- a/server/models/user/user-notification-setting.ts +++ b/server/models/user/user-notification-setting.ts @@ -175,6 +175,15 @@ export class UserNotificationSettingModel extends Model throwIfNotValid(value, isUserNotificationSettingValid, 'myVideoEditionFinished') + ) + @Column + myVideoEditionFinished: UserNotificationSettingValue + @ForeignKey(() => UserModel) @Column userId: number @@ -216,6 +225,7 @@ export class UserNotificationSettingModel extends Model