oops fix wrong default value in migration

This commit is contained in:
forest 2022-02-09 12:14:27 -06:00
parent 45c1280889
commit 520e153180

View File

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