fix(db): don't update item_order when updating an item
This commit is contained in:
parent
11e4935055
commit
32e79ea609
1 changed files with 1 additions and 2 deletions
|
@ -501,8 +501,7 @@ mod db_impl {
|
||||||
VALUES (?, ?, ?, ?)
|
VALUES (?, ?, ?, ?)
|
||||||
ON CONFLICT(id) DO UPDATE SET
|
ON CONFLICT(id) DO UPDATE SET
|
||||||
url_id = excluded.url_id,
|
url_id = excluded.url_id,
|
||||||
wikidata_id = excluded.wikidata_id,
|
wikidata_id = excluded.wikidata_id",
|
||||||
item_order = excluded.item_order",
|
|
||||||
rusqlite::params![
|
rusqlite::params![
|
||||||
&item.id,
|
&item.id,
|
||||||
url_id,
|
url_id,
|
||||||
|
|
Loading…
Add table
Reference in a new issue