-- Development data. Apply with: -- psql "$DATABASE_URL" -f db/seed.sql -- -- `domain` must match the libvirt domain name exactly (`virsh list --all`). BEGIN; INSERT INTO public.vms (id, "domain", "display_name", "icon", "position") VALUES (1, 'win11', 'Windows 11', 'windows', 1), (2, 'arch-hyprland', 'Arch Linux (Hyprland)', 'linux', 2) ON CONFLICT ("domain") DO NOTHING; -- Keep the sequence in sync with the explicit ids inserted above SELECT setval('public.vms_id_seq', (SELECT COALESCE(MAX(id), 1) FROM public.vms)); COMMIT;