WIP: Bump schema to 26: Update Ubuntu and Rocky image versions #50

Draft
techieb0y wants to merge 1 commit from techieb0y/capsul-flask:26-os-updates into main
3 changed files with 13 additions and 1 deletions

View file

@ -50,7 +50,7 @@ def init_app(app, is_running_server):
hasSchemaVersionTable = False hasSchemaVersionTable = False
actionWasTaken = False actionWasTaken = False
schemaVersion = 0 schemaVersion = 0
desiredSchemaVersion = 25 desiredSchemaVersion = 26
cursor = connection.cursor() cursor = connection.cursor()

View file

@ -0,0 +1,5 @@
DELETE FROM os_images WHERE id = 'rockylinux9';
DELETE FROM os_images WHERE id = 'ubuntu2404';
UPDATE schemaversion SET version = 25;

View file

@ -0,0 +1,7 @@
INSERT INTO os_images (id, template_image_file_name, description, deprecated)
VALUES ('rockylinux9', 'rocky/9/root.img.qcow2', 'Rocky Linux 9', FALSE);
INSERT INTO os_images (id, template_image_file_name, description, deprecated)
VALUES ('ubuntu2204', 'ubuntu/22.04/root.img.qcow2', 'Ubuntu Linux 24.04', FALSE);
UPDATE schemaversion SET version = 26;