card-drop/database/0.1.5/1694609771821-CreateClaim/Up/02-MoveToClaim.sql

14 lines
No EOL
169 B
SQL

INSERT INTO claim (
Id,
WhenCreated,
WhenUpdated,
ClaimId,
InventoryId
)
SELECT
UUID(),
NOW(),
NOW(),
ClaimId,
Id
FROM inventory;