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