Add archlinux, bump everything'
This commit is contained in:
parent
dc8da3170b
commit
a9c4ae7572
@ -43,7 +43,7 @@ def init_app(app, is_running_server):
|
|||||||
hasSchemaVersionTable = False
|
hasSchemaVersionTable = False
|
||||||
actionWasTaken = False
|
actionWasTaken = False
|
||||||
schemaVersion = 0
|
schemaVersion = 0
|
||||||
desiredSchemaVersion = 18
|
desiredSchemaVersion = 19
|
||||||
|
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
|
|
||||||
|
6
capsulflask/schema_migrations/19_down_os_updates.sql
Normal file
6
capsulflask/schema_migrations/19_down_os_updates.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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 description = 'Ubuntu 20.04 LTS (Fossa)' WHERE id = 'ubuntu20';
|
||||||
|
|
||||||
|
UPDATE schemaversion SET version = 18;
|
10
capsulflask/schema_migrations/19_up_os_updates.sql
Normal file
10
capsulflask/schema_migrations/19_up_os_updates.sql
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
INSERT INTO os_images (id, template_image_file_name, description, deprecated)
|
||||||
|
VALUES ('guixsystem130', 'guixsystem/1.3.0/root.img.qcow2', 'Guix System 1.3.0', FALSE);
|
||||||
|
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 description = 'Ubuntu 20.04 (Focal)' WHERE id = 'ubuntu20';
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE schemaversion SET version = 19;
|
Loading…
Reference in New Issue
Block a user