backend: use upsert to update meta table #239
Loading…
Reference in a new issue
No description provided.
Delete branch "upsert-meta"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes an issue where the meta table fails to update due to a
duplicate ID.
Changelog: Fixed
Using
upsert
here is not the correct solution, sinceclear
is suppsed to truncate the table to ensure there is only ever 1 record. The solution was instead toawait
the truncation. Fixed in commit28aa440bcc
.Pull request closed