From 621eba5e78edfcdc1d1255490df370ed95addd51 Mon Sep 17 00:00:00 2001 From: Tommi Leinamo Date: Fri, 15 Sep 2023 08:51:44 +0300 Subject: [PATCH] Remove obsolete metadata To get rid of Hasura console warning. The actual constraints were removed already in daee0fafc6ce3f965dde63c3914383bc3e432a33 --- .../return_value_timetable_version.yaml | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/metadata/hsl/databases/timetables/tables/return_value_timetable_version.yaml b/metadata/hsl/databases/timetables/tables/return_value_timetable_version.yaml index b2f8873c..01eb94ee 100644 --- a/metadata/hsl/databases/timetables/tables/return_value_timetable_version.yaml +++ b/metadata/hsl/databases/timetables/tables/return_value_timetable_version.yaml @@ -4,10 +4,25 @@ table: object_relationships: - name: day_type using: - foreign_key_constraint_on: day_type_id - - name: vehicle_schedule_frame - using: - foreign_key_constraint_on: vehicle_schedule_frame_id + manual_configuration: + column_mapping: + day_type_id: day_type_id + remote_table: + name: day_type + schema: service_calendar - name: substitute_operating_day_by_line_type using: - foreign_key_constraint_on: substitute_operating_day_by_line_type_id + manual_configuration: + column_mapping: + substitute_operating_day_by_line_type_id: substitute_operating_day_by_line_type_id + remote_table: + name: substitute_operating_day_by_line_type + schema: service_calendar + - name: vehicle_schedule_frame + using: + manual_configuration: + column_mapping: + vehicle_schedule_frame_id: vehicle_schedule_frame_id + remote_table: + name: vehicle_schedule_frame + schema: vehicle_schedule