-- Devices with a captive/permanently-attached cable (a keyboard's USB -- cable, a budget AV receiver's power cord, some passive speakers' fixed -- speaker wire, ...) — a property of the physical port, not of any one -- wiring choice, so it lives on device_template_ports rather than on -- connections (which aren't even a relational table — see diagrams' JSONB -- `data` for those; nothing to migrate there, the domain type change alone -- covers newly-placed devices, and this column is what the palette/library -- side needs). alter table public.device_template_ports add column built_in_cable boolean not null default false;