set default to false in create statement

this way existing users will be set to false instead of undef
This commit is contained in:
nick n
2019-08-23 20:54:24 +02:00
committed by GitHub
parent 54fbc00407
commit dbc3fae588

View File

@@ -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;