1
0
Fork 0

Add unique key on actor preferredUsername

This commit is contained in:
Chocobozzz 2020-05-11 11:06:12 +02:00
parent 95cd31f1fe
commit 0f06c4de69
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

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