diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-05 14:57:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-05 14:57:14 +0100 |
commit | 77e0851758595de2642b405cff8960f02ced60eb (patch) | |
tree | 6858298627b97a450eaef388ff7222e0e5a2e1c4 /server/typings | |
parent | 7b7d4e2a6adde8a8aa0b4c0048bddd448a6a0093 (diff) | |
download | PeerTube-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 'server/typings')
0 files changed, 0 insertions, 0 deletions