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' ],
|
fields: [ 'preferredUsername' ],
|
||||||
// unique: true,
|
unique: true,
|
||||||
// where: {
|
where: {
|
||||||
// serverId: null
|
serverId: null
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
fields: [ 'inboxUrl', 'sharedInboxUrl' ]
|
fields: [ 'inboxUrl', 'sharedInboxUrl' ]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue