]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/video/video-comment.ts
Add background placeholder for thumbnails
[github/Chocobozzz/PeerTube.git] / server / models / video / video-comment.ts
index ab909b0b81c3ea9ecda79ff180a7a07d3da58892..868d04ff9e0a7b381e78a63d8e05553d309d8001 100644 (file)
@@ -104,6 +104,10 @@ enum ScopeNames {
     },
     {
       fields: [ 'videoId', 'originCommentId' ]
+    },
+    {
+      fields: [ 'url' ],
+      unique: true
     }
   ]
 })