Files
spend-sparrow/migration/007_treasure_chest_parent_id_fix.up.sql
Tim Wundenberg 7a691ec263
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 5m0s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 5m25s
fix(treasurechest): make parentId actually null/nil instead of uuid.Nil
2025-05-19 19:56:06 +02:00

4 lines
101 B
SQL

UPDATE treasure_chest
SET parent_id = NULL
WHERE parent_id = "00000000-0000-0000-0000-000000000000";