Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Don't add the unique preferredUsername index for now

Chocobozzz458218d2baf2
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts
index e539b579cc..71db44b2f8 100644
--- a/server/models/activitypub/actor.ts
+++ b/server/models/activitypub/actor.ts
@@ -122,13 +122,13 @@ export const unusedActorAttributesForAPI = [
}
}
},
- {
- fields: [ 'preferredUsername' ],
- unique: true,
- where: {
- serverId: null
- }
- },
+ // {
+ // fields: [ 'preferredUsername' ],
+ // unique: true,
+ // where: {
+ // serverId: null
+ // }
+ // },
{
fields: [ 'inboxUrl', 'sharedInboxUrl' ]
},