11 lines
469 B
SQL
11 lines
469 B
SQL
-- migrate:up
|
|
-- Fourth VM: the CS-477 project guest. Like the others it is configuration, not
|
|
-- demo data, so a fresh deployment shows it without manual seeding.
|
|
--
|
|
-- `domain` must match the libvirt domain name exactly (`virsh list --all`).
|
|
INSERT INTO vms ("domain", "display_name", "icon", "position") VALUES
|
|
('cs477-project', 'CS-477 Project', 'server', 4)
|
|
ON CONFLICT ("domain") DO NOTHING;
|
|
|
|
-- migrate:down
|
|
DELETE FROM vms WHERE "domain" = 'cs477-project';
|