diff --git a/capsulflask/schema_migrations/19_down_os_updates.sql b/capsulflask/schema_migrations/19_down_os_updates.sql index 9598409..a9e2083 100644 --- a/capsulflask/schema_migrations/19_down_os_updates.sql +++ b/capsulflask/schema_migrations/19_down_os_updates.sql @@ -1,6 +1,8 @@ DELETE FROM os_images WHERE id = 'guixsystem130'; DELETE FROM os_images WHERE id = 'archlinux'; UPDATE os_images SET deprecated = FALSE WHERE id = 'guixsystem120'; +UPDATE os_images SET deprecated = FALSE WHERE id = 'centos7'; +UPDATE os_images SET deprecated = FALSE WHERE id = 'centos8'; UPDATE os_images SET description = 'Ubuntu 20.04 LTS (Fossa)' WHERE id = 'ubuntu20'; UPDATE schemaversion SET version = 18; diff --git a/capsulflask/schema_migrations/19_up_os_updates.sql b/capsulflask/schema_migrations/19_up_os_updates.sql index 4237e4a..59b1db4 100644 --- a/capsulflask/schema_migrations/19_up_os_updates.sql +++ b/capsulflask/schema_migrations/19_up_os_updates.sql @@ -4,6 +4,8 @@ INSERT INTO os_images (id, template_image_file_name, description, deprecated) VALUES ('archlinux', 'archlinux/root.img.qcow2', 'Arch Linux', FALSE); UPDATE os_images SET deprecated = TRUE WHERE id = 'guixsystem120'; +UPDATE os_images SET deprecated = TRUE WHERE id = 'centos7'; +UPDATE os_images SET deprecated = TRUE WHERE id = 'centos8'; UPDATE os_images SET description = 'Ubuntu 20.04 (Focal)' WHERE id = 'ubuntu20';