mirror of https://github.com/Chocobozzz/PeerTube
Don't add the unique preferredUsername index for now
We'll do it in the next release so admins can prepare itpull/2334/head
parent
729c0f4d41
commit
458218d2ba
|
@ -122,13 +122,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