Added new db migration to set default SteamId to

This commit is contained in:
lobo committed 2026-04-19 14:17:49 +02:00
1 parent 2a5839b736
commit c7ec8c2f7c
1 file changed
+9
@@ -0,0 +1,9 @@
UPDATE users
SET steam_id = 0
WHERE steam_id IS NULL;
ALTER TABLE users
ALTER COLUMN steam_id SET DEFAULT 0;
ALTER TABLE users
ALTER COLUMN steam_id SET NOT NULL;