From 9599d4ef7e40ad043e165126d5f4afbb52271c81 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 3 Mar 2022 14:09:03 +0000 Subject: [PATCH] Doc: Fixed news --- readme/news/20211102-150403.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme/news/20211102-150403.md b/readme/news/20211102-150403.md index 765140af4..376412b6c 100644 --- a/readme/news/20211102-150403.md +++ b/readme/news/20211102-150403.md @@ -13,9 +13,9 @@ The second database migration will add a unique constraint on items.name and ite If that happens, you'll need to decide what to do with the data, as it's not possible to automatically decide. You can find all duplicates using this query: -<code>**select** count(*), name, owner_id +**select** count(*), name, owner_id **from** items **group** **by** name, owner_id -**having** count(*) > 1;</code> +**having** count(*) > 1; Once you have the list of IDs you have a few options: