From 414e91a8254c68d4e796a804232292904005b809 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 10 Mar 2025 20:48:17 +0300 Subject: [PATCH] fix(db): preserve original item_order during updates --- src/db.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/db.rs b/src/db.rs index 8d4d52a..97ffdbe 100644 --- a/src/db.rs +++ b/src/db.rs @@ -509,8 +509,7 @@ mod db_impl { url_id = excluded.url_id, name = excluded.name, description = excluded.description, - wikidata_id = excluded.wikidata_id, - item_order = excluded.item_order", + wikidata_id = excluded.wikidata_id", rusqlite::params![ &item.id, url_id,