From fbe9804d3e1b81ee05d950c58118c212b015ad86 Mon Sep 17 00:00:00 2001 From: funman300 Date: Tue, 18 Aug 2026 01:01:20 +0000 Subject: [PATCH] core: quick-sell FK fix (gitlink 637a21e) Quick-selling a card that was in any squad failed with SQLite 787 FOREIGN KEY constraint failed, on the live FIFA 17 path (economy_store -> econ.sell_item -> POST /economy/sell-item). Reproduced, then fixed by evicting the item from every lineup inside sell_item's existing transaction. routes/cards.rs::delete_owned_card folded into the same authority, which also gives it the transaction it never had. Not deployed. --- openfut-core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfut-core b/openfut-core index 31ab4a6..637a21e 160000 --- a/openfut-core +++ b/openfut-core @@ -1 +1 @@ -Subproject commit 31ab4a683e23758c5035a4cd80701be4183fd351 +Subproject commit 637a21eac12a2b3c163ea754ab220417b1528761