forked from 3wordchant/capsul-flask
correctly merge db migrations with origin master (coreos)
This commit is contained in:
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;
|
@ -0,0 +1,3 @@
|
||||
UPDATE os_images SET deprecated = FALSE WHERE id = 'coreos';
|
||||
|
||||
UPDATE schemaversion SET version = 13;
|
3
capsulflask/schema_migrations/14_up_cores_notready.sql
Normal file
3
capsulflask/schema_migrations/14_up_cores_notready.sql
Normal file
@ -0,0 +1,3 @@
|
||||
UPDATE os_images SET deprecated = TRUE WHERE id = 'coreos';
|
||||
|
||||
UPDATE schemaversion SET version = 14;
|
Reference in New Issue
Block a user