X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Faccount%2Fuser-notification-setting.ts;h=dc69a17fda585fa61e0aa329d30a2b326be02046;hb=8424c4026afd7304880a4ce8138a04ffb3d8c938;hp=1506295cf7f7183ad9e6b2c29fac9bb32e86fd9d;hpb=f69ec5f340638ef577e8f5b9b1fb844778656a1f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/models/account/user-notification-setting.ts b/server/models/account/user-notification-setting.ts index 1506295cf..dc69a17fd 100644 --- a/server/models/account/user-notification-setting.ts +++ b/server/models/account/user-notification-setting.ts @@ -111,6 +111,15 @@ export class UserNotificationSettingModel extends Model throwIfNotValid(value, isUserNotificationSettingValid, 'autoInstanceFollowing') + ) + @Column + autoInstanceFollowing: UserNotificationSettingValue + @AllowNull(false) @Default(null) @Is( @@ -165,7 +174,8 @@ export class UserNotificationSettingModel extends Model