]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/activitypub/actor.ts
Don't add the unique preferredUsername index for now
[github/Chocobozzz/PeerTube.git] / server / models / activitypub / actor.ts
index e539b579cc60d65c96996272263c4f51ccbd85e7..71db44b2f8948163c46e45241f61dac6b806c8fc 100644 (file)
@@ -122,13 +122,13 @@ export const unusedActorAttributesForAPI = [
         }
       }
     },
-    {
-      fields: [ 'preferredUsername' ],
-      unique: true,
-      where: {
-        serverId: null
-      }
-    },
+    // {
+    //   fields: [ 'preferredUsername' ],
+    //   unique: true,
+    //   where: {
+    //     serverId: null
+    //   }
+    // },
     {
       fields: [ 'inboxUrl', 'sharedInboxUrl' ]
     },