mirror of https://github.com/Chocobozzz/PeerTube
Add unique key on actor preferredUsername
parent
95cd31f1fe
commit
0f06c4de69
|
@ -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 New Issue