diff --git a/metadata/generic/databases/default/tables/service_pattern_scheduled_stop_point.yaml b/metadata/generic/databases/default/tables/service_pattern_scheduled_stop_point.yaml index 8e50d670..718dcc20 100644 --- a/metadata/generic/databases/default/tables/service_pattern_scheduled_stop_point.yaml +++ b/metadata/generic/databases/default/tables/service_pattern_scheduled_stop_point.yaml @@ -48,6 +48,16 @@ computed_fields: name: ssp_relative_distance_from_infrastructure_link_start schema: service_pattern remote_relationships: + - definition: + to_source: + field_mapping: + stop_place_ref: netex_id + relationship_type: object + source: stops + table: + name: stop_place_newest_version + schema: public + name: newest_stop_place - definition: to_remote_schema: lhs_fields: