Public Access
Added new db migration to set default SteamId to
This commit is contained in:
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;
|
||||||
Reference in new issue
Block a user