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.
This commit is contained in:
funman300
2026-08-18 01:01:20 +00:00
parent f6606accb3
commit fbe9804d3e