vm-selector/db/migrations/20261107120000_add_cs477_project_vm.sql
Antoine Pelletier ff485aadc3
All checks were successful
build / image (push) Successful in 2m6s
feat: new vm
2026-11-07 11:41:54 +01:00

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';