Don't add the unique preferredUsername index for now

We'll do it in the next release so admins can prepare it
This commit is contained in:
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' ],
unique: true,
where: {
serverId: null
}
},
// {
// fields: [ 'preferredUsername' ],
// unique: true,
// where: {
// serverId: null
// }
// },
{
fields: [ 'inboxUrl', 'sharedInboxUrl' ]
},