]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix SQL query in changelog
authorChocobozzz <me@florianbigard.com>
Mon, 20 Jan 2020 14:41:17 +0000 (15:41 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 20 Jan 2020 14:41:58 +0000 (15:41 +0100)
CHANGELOG.md

index aa0035a9186919b53fee7fc26ce6df92d6e11686..e3aa069c7b50db07f26a282a415b9dc3d6916c36 100644 (file)
@@ -8,7 +8,7 @@
    * `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-2.1.js`
  * **/!\ VERY IMPORTANT /!\\** In the next PeerTube release (v2.2.0), we'll add a unique index on actors usernames to fix some federation bugs.
  Please check now if you have conflicts using:
-    * Go inside your database using `psql` and run `select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 0`
+    * Go inside your database using `psql` and run `select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 1`
     * 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