-- migrate:up
-- The VMs are configuration, not demo data: without these rows the page has
-- nothing to show. They belong to the schema so that a fresh deployment is
-- usable straight after `dbmate up`, with no manual seeding step.
--
-- `domain` must match the libvirt domain name exactly (`virsh list --all`).
INSERT INTO vms ("domain", "display_name", "icon", "position") VALUES
    ('win11', 'Windows 11', 'windows', 1),
    ('arch-hyprland', 'Arch Linux (Hyprland)', 'linux', 2)
ON CONFLICT ("domain") DO NOTHING;

-- migrate:down
DELETE FROM vms WHERE "domain" IN ('win11', 'arch-hyprland');
