1BEGIN; 2 3-- ALTER TABLE device_port ALTER COLUMN remote_id TYPE text USING remote_id::text; 4 5COMMIT; 6