oops fix wrong default value in migration
This commit is contained in:
parent
45c1280889
commit
520e153180
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
ALTER TABLE vms ADD COLUMN shortterm BOOLEAN NULL;
|
ALTER TABLE vms ADD COLUMN shortterm BOOLEAN NULL;
|
||||||
|
|
||||||
UPDATE vms SET shortterm = TRUE WHERE shortterm is NULL;
|
UPDATE vms SET shortterm = FALSE WHERE shortterm is NULL;
|
||||||
|
|
||||||
ALTER TABLE vms ALTER COLUMN shortterm SET NOT NULL;
|
ALTER TABLE vms ALTER COLUMN shortterm SET NOT NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user