From a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 1 Jun 2021 08:44:47 +0200 Subject: [PATCH] Add expiresOn index --- server/models/redundancy/video-redundancy.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/models/redundancy/video-redundancy.ts b/server/models/redundancy/video-redundancy.ts index ca56a57dc..ccda023e0 100644 --- a/server/models/redundancy/video-redundancy.ts +++ b/server/models/redundancy/video-redundancy.ts @@ -79,6 +79,9 @@ export enum ScopeNames { { fields: [ 'actorId' ] }, + { + fields: [ 'expiresOn' ] + }, { fields: [ 'url' ], unique: true