1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Doc: Fixed news

This commit is contained in:
Laurent Cozic 2022-03-03 14:09:03 +00:00
parent 252f08e828
commit 9599d4ef7e

View File

@ -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: 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:
&lt;code&gt;**select** count(*), name, owner_id <code>**select** count(*), name, owner_id
**from** items **group** **by** name, owner_id **from** items **group** **by** name, owner_id
**having** count(*) > 1;&lt;/code&gt; **having** count(*) > 1;</code>
Once you have the list of IDs you have a few options: Once you have the list of IDs you have a few options: