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;
|
||||
|
||||
ALTER TABLE users ADD radius boolean;
|
||||
|
||||
ALTER TABLE users ALTER radius SET DEFAULT false;
|
||||
ALTER TABLE users ADD COLUMN "radius" boolean DEFAULT false;
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user