Add unique key on actor preferredUsername
This commit is contained in:
parent
95cd31f1fe
commit
0f06c4de69
1 changed files with 7 additions and 7 deletions
|
@ -123,13 +123,13 @@ export const unusedActorAttributesForAPI = [
|
|||
}
|
||||
}
|
||||
},
|
||||
// {
|
||||
// fields: [ 'preferredUsername' ],
|
||||
// unique: true,
|
||||
// where: {
|
||||
// serverId: null
|
||||
// }
|
||||
// },
|
||||
{
|
||||
fields: [ 'preferredUsername' ],
|
||||
unique: true,
|
||||
where: {
|
||||
serverId: null
|
||||
}
|
||||
},
|
||||
{
|
||||
fields: [ 'inboxUrl', 'sharedInboxUrl' ]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue