Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fa9e0c3765 | |||
| 69318e7b0b | |||
| 9caeebd82e |
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# 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
|
## 1.4
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
BEGIN TRANSACTION;
|
BEGIN TRANSACTION;
|
||||||
|
|
||||||
DELETE FROM "bricktracker_wishes"
|
|
||||||
WHERE "bricktracker_wishes"."set" IS NOT DISTINCT FROM '{{ set }}';
|
|
||||||
|
|
||||||
DELETE FROM "bricktracker_wish_owners"
|
DELETE FROM "bricktracker_wish_owners"
|
||||||
WHERE "bricktracker_wish_owners"."set" IS NOT DISTINCT FROM '{{ set }}';
|
WHERE "bricktracker_wish_owners"."set" IS NOT DISTINCT FROM '{{ set }}';
|
||||||
|
|
||||||
|
DELETE FROM "bricktracker_wishes"
|
||||||
|
WHERE "bricktracker_wishes"."set" IS NOT DISTINCT FROM '{{ set }}';
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
Reference in New Issue
Block a user