11 lines
456 B
SQL
11 lines
456 B
SQL
-- migrate:up
|
|
-- Third VM: an Ubuntu server 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
|
|
('cs-477', 'CS-477 Advanced OS', 'server', 3)
|
|
ON CONFLICT ("domain") DO NOTHING;
|
|
|
|
-- migrate:down
|
|
DELETE FROM vms WHERE "domain" = 'cs-477';
|