X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Faccount%2Fuser-notification-setting.ts;h=c2fbc6d23cc150b673bd9d02d524ef345718529f;hb=1600235a2f4e30c5d4e7d4342d1c299845decc60;hp=ba7f739b9c8f5cdbc3821b49d52df1d79a2b62f0;hpb=7ccddd7b5250bd25a917a6e77e58b87b9484a2a4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/account/user-notification-setting.ts b/server/models/account/user-notification-setting.ts index ba7f739b9..c2fbc6d23 100644 --- a/server/models/account/user-notification-setting.ts +++ b/server/models/account/user-notification-setting.ts @@ -101,6 +101,15 @@ export class UserNotificationSettingModel extends Model throwIfNotValid(value, isUserNotificationSettingValid, 'newInstanceFollower') + ) + @Column + newInstanceFollower: UserNotificationSettingValue + @AllowNull(false) @Default(null) @Is( @@ -154,7 +163,8 @@ export class UserNotificationSettingModel extends Model