forked from 3wordchant/capsul-flask
Add coreos
This commit is contained in:
parent
645ddede02
commit
3639a295c4
@ -42,7 +42,7 @@ def init_app(app):
|
|||||||
hasSchemaVersionTable = False
|
hasSchemaVersionTable = False
|
||||||
actionWasTaken = False
|
actionWasTaken = False
|
||||||
schemaVersion = 0
|
schemaVersion = 0
|
||||||
desiredSchemaVersion = 12
|
desiredSchemaVersion = 13
|
||||||
|
|
||||||
cursor = connection.cursor()
|
cursor = connection.cursor()
|
||||||
|
|
||||||
|
3
capsulflask/schema_migrations/13_down_coreos.sql
Normal file
3
capsulflask/schema_migrations/13_down_coreos.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
DELETE FROM os_images WHERE id = 'coreos';
|
||||||
|
|
||||||
|
UPDATE schemaversion SET version = 12;
|
4
capsulflask/schema_migrations/13_up_coreos.sql
Normal file
4
capsulflask/schema_migrations/13_up_coreos.sql
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
INSERT INTO os_images (id, template_image_file_name, description, deprecated)
|
||||||
|
VALUES ('coreos', 'coreos/stable/root.img.qcow2', 'Fedora CoreOS Stable', FALSE);
|
||||||
|
|
||||||
|
UPDATE schemaversion SET version = 13;
|
Loading…
Reference in New Issue
Block a user