diff --git a/layers/transportation/update_route_member.sql b/layers/transportation/update_route_member.sql index 3b8f5a5d..3a624029 100644 --- a/layers/transportation/update_route_member.sql +++ b/layers/transportation/update_route_member.sql @@ -75,7 +75,8 @@ BEGIN WHERE rm.member IN (SELECT DISTINCT osm_id FROM transportation_name.network_changes) ON CONFLICT (id, osm_id) DO UPDATE SET concurrency_index = EXCLUDED.concurrency_index, - rank = EXCLUDED.rank; + rank = EXCLUDED.rank, + network_type = EXCLUDED.network_type; END; $$ LANGUAGE plpgsql;