From 36fa867002de0cb5edefa628ea64ad959f06e39e Mon Sep 17 00:00:00 2001 From: j3s Date: Tue, 19 May 2020 22:21:08 -0500 Subject: [PATCH] Add OpenBSD 6.7 migrate scripts --- capsulflask/schema_migrations/03_down_openbsd67.sql | 3 +++ capsulflask/schema_migrations/03_up_openbsd67.sql | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 capsulflask/schema_migrations/03_down_openbsd67.sql create mode 100644 capsulflask/schema_migrations/03_up_openbsd67.sql diff --git a/capsulflask/schema_migrations/03_down_openbsd67.sql b/capsulflask/schema_migrations/03_down_openbsd67.sql new file mode 100644 index 0000000..b447d4e --- /dev/null +++ b/capsulflask/schema_migrations/03_down_openbsd67.sql @@ -0,0 +1,3 @@ +UPDATE os_images SET id = 'openbsd66' WHERE id = 'openbsd67' +UPDATE os_images SET template_image_file_name = 'openbsd-cloud-2020-05.qcow2' WHERE id = 'openbsd66' +UPDATE os_images SET description = 'OpenBSD 6.6' WHERE id = 'openbsd66' diff --git a/capsulflask/schema_migrations/03_up_openbsd67.sql b/capsulflask/schema_migrations/03_up_openbsd67.sql new file mode 100644 index 0000000..078dd5b --- /dev/null +++ b/capsulflask/schema_migrations/03_up_openbsd67.sql @@ -0,0 +1,3 @@ +UPDATE os_images SET id = 'openbsd67' WHERE id = 'openbsd66' +UPDATE os_images SET template_image_file_name = 'openbsd-6.7-x86_64.qcow2' WHERE id = 'openbsd67' +UPDATE os_images SET description = 'OpenBSD 6.7' WHERE id = 'openbsd67'