Don't add the unique preferredUsername index for now

We'll do it in the next release so admins can prepare it
pull/2334/head
Chocobozzz 2019-12-12 10:24:08 +01:00
parent 729c0f4d41
commit 458218d2ba
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 7 additions and 7 deletions

View File

@ -122,13 +122,13 @@ export const unusedActorAttributesForAPI = [
} }
} }
}, },
{ // {
fields: [ 'preferredUsername' ], // fields: [ 'preferredUsername' ],
unique: true, // unique: true,
where: { // where: {
serverId: null // serverId: null
} // }
}, // },
{ {
fields: [ 'inboxUrl', 'sharedInboxUrl' ] fields: [ 'inboxUrl', 'sharedInboxUrl' ]
}, },