Fix users being able to claim a card twice if the user has multiple of it already

This commit is contained in:
Ethan Lane 2023-09-13 14:37:17 +01:00
parent 74cdf818d1
commit ad505b3ea2
7 changed files with 87 additions and 15 deletions

View file

@ -0,0 +1,10 @@
INSERT INTO claim (
Id,
ClaimId,
InventoryId
)
SELECT
UUID(),
ClaimId,
Id
FROM inventory;