Add unique key on actor preferredUsername

pull/2621/head
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
1 changed files with 7 additions and 7 deletions

View File

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