capsul-flask/capsulflask/schema_migrations/23_up_ephemeral_vms.sql

13 lines
208 B
MySQL
Raw Normal View History

2022-02-08 23:16:52 +00:00
ALTER TABLE vms ADD COLUMN shortterm BOOLEAN NULL;
UPDATE vms SET shortterm = TRUE WHERE shortterm is NULL;
ALTER TABLE vms ALTER COLUMN shortterm SET NOT NULL;
UPDATE schemaversion SET version = 23;