From 32e79ea609a5ce49635baf39a0df86d992aecd4a Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 12 Mar 2025 02:22:00 +0300 Subject: [PATCH] fix(db): don't update item_order when updating an item --- src/db.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/db.rs b/src/db.rs index 53dcba5..29eacbd 100644 --- a/src/db.rs +++ b/src/db.rs @@ -501,8 +501,7 @@ mod db_impl { VALUES (?, ?, ?, ?) ON CONFLICT(id) DO UPDATE SET url_id = excluded.url_id, - wikidata_id = excluded.wikidata_id, - item_order = excluded.item_order", + wikidata_id = excluded.wikidata_id", rusqlite::params![ &item.id, url_id,