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