1
0
Fork 0

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

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' ]
},