From 458218d2baf286835754c666cfc635cce467c24e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 12 Dec 2019 10:24:08 +0100 Subject: [PATCH] Don't add the unique preferredUsername index for now We'll do it in the next release so admins can prepare it --- server/models/activitypub/actor.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts index e539b579c..71db44b2f 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' ] },