diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-01 08:44:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-01 11:03:52 +0200 |
commit | a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb (patch) | |
tree | 6bf0746f9fc126f169b090a4ab2332a2f5613b79 /server | |
parent | 7dab0bd698ba1d78995b58325d0dd78257278582 (diff) | |
download | PeerTube-a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb.tar.gz PeerTube-a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb.tar.zst PeerTube-a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb.zip |
Add expiresOn index
Diffstat (limited to 'server')
-rw-r--r-- | server/models/redundancy/video-redundancy.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
@@ -80,6 +80,9 @@ export enum ScopeNames { | |||
80 | fields: [ 'actorId' ] | 80 | fields: [ 'actorId' ] |
81 | }, | 81 | }, |
82 | { | 82 | { |
83 | fields: [ 'expiresOn' ] | ||
84 | }, | ||
85 | { | ||
83 | fields: [ 'url' ], | 86 | fields: [ 'url' ], |
84 | unique: true | 87 | unique: true |
85 | } | 88 | } |