aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/redundancy
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-05 14:57:14 +0100
committerChocobozzz <me@florianbigard.com>2019-12-05 14:57:14 +0100
commit77e0851758595de2642b405cff8960f02ced60eb (patch)
tree6858298627b97a450eaef388ff7222e0e5a2e1c4 /shared/models/redundancy
parent7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093 (diff)
downloadPeerTube-77e0851758595de2642b405cff8960f02ced60eb.tar.gz
PeerTube-77e0851758595de2642b405cff8960f02ced60eb.tar.zst
PeerTube-77e0851758595de2642b405cff8960f02ced60eb.zip
Ensure local actors preferredName don't already exist
Before applying this commit, check you don't have duplicates local actors in your database: select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 0 If you have some results, it seems you have duplicate channels/accounts. For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique). The updated actors could have some federations issues. Sorry.
Diffstat (limited to 'shared/models/redundancy')
0 files changed, 0 insertions, 0 deletions