set default to false in create statement
this way existing users will be set to false instead of undef
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
BEGIN;
|
BEGIN;
|
||||||
|
|
||||||
ALTER TABLE users ADD radius boolean;
|
ALTER TABLE users ADD COLUMN "radius" boolean DEFAULT false;
|
||||||
|
|
||||||
ALTER TABLE users ALTER radius SET DEFAULT false;
|
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|||||||
Reference in New Issue
Block a user