Compare commits

...

2 Commits

2 changed files with 10 additions and 3 deletions
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## 1.4.1
### Bug Fixes
- **Fixed deleting a wish with an owner assigned** (Issue #152): Resolved foreign key constraint error when removing a set from the wishlist that had an owner assigned
- Wish owners are now deleted before the wish itself, respecting the FK constraint
## 1.4
### Bug Fixes
+3 -3
View File
@@ -3,10 +3,10 @@
BEGIN TRANSACTION;
DELETE FROM "bricktracker_wishes"
WHERE "bricktracker_wishes"."set" IS NOT DISTINCT FROM '{{ set }}';
DELETE FROM "bricktracker_wish_owners"
WHERE "bricktracker_wish_owners"."set" IS NOT DISTINCT FROM '{{ set }}';
DELETE FROM "bricktracker_wishes"
WHERE "bricktracker_wishes"."set" IS NOT DISTINCT FROM '{{ set }}';
COMMIT;