-- The permanent robot_id is the only edge routing identity.
-- Historical data is intentionally not migrated.
alter table inspection_robot drop column terminal_id;
alter table te_task_inst drop column terminal_id;
