Public Access
Added new db migration to set default SteamId to
This commit is contained in:
1 parent
fd390ac072
commit
7d32c7e04a
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