ActivityPub-federated video streaming platform using P2P directly in your web browser
Add unique index on video comment url
Chocobozzz0776d83f2cf5
diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.tsindex ab909b0b81..868d04ff9e 100644--- a/server/models/video/video-comment.ts+++ b/server/models/video/video-comment.ts@@ -104,6 +104,10 @@ enum ScopeNames {},{fields: [ 'videoId', 'originCommentId' ]+ },+ {+ fields: [ 'url' ],+ unique: true}]})