aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/redundancy/video-redundancy.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-01 08:44:47 +0200
committerChocobozzz <me@florianbigard.com>2021-06-01 11:03:52 +0200
commita7944e89bcd0a58fecc2ebd6a98e1674bd4173bb (patch)
tree6bf0746f9fc126f169b090a4ab2332a2f5613b79 /server/models/redundancy/video-redundancy.ts
parent7dab0bd698ba1d78995b58325d0dd78257278582 (diff)
downloadPeerTube-a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb.tar.gz
PeerTube-a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb.tar.zst
PeerTube-a7944e89bcd0a58fecc2ebd6a98e1674bd4173bb.zip
Add expiresOn index
Diffstat (limited to 'server/models/redundancy/video-redundancy.ts')
-rw-r--r--server/models/redundancy/video-redundancy.ts3
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 }