-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Directly read from the Tiamat database
- Use the default database also as the metadata database - Create a direct connection to the Tiamat database - Track all public tables - Track all relevant parent -> child connections
- Loading branch information
Showing
102 changed files
with
1,000 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: tiamatdb | ||
kind: postgres | ||
configuration: | ||
connection_info: | ||
database_url: | ||
from_env: HASURA_TIAMAT_DATABASE_URL | ||
isolation_level: read-committed | ||
use_prepared_statements: false | ||
customization: | ||
naming_convention: hasura-default | ||
root_fields: | ||
namespace: stop_database | ||
prefix: stop_database_ | ||
type_names: | ||
prefix: stop_database_ | ||
tables: "!include tiamatdb/tables/tables.yaml" |
35 changes: 35 additions & 0 deletions
35
metadata/hsl/databases/tiamatdb/tables/public_access_space.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
table: | ||
name: access_space | ||
schema: public | ||
object_relationships: | ||
- name: accessibility_assessment | ||
using: | ||
foreign_key_constraint_on: accessibility_assessment_id | ||
- name: installed_equipment_version_structure | ||
using: | ||
foreign_key_constraint_on: place_equipments_id | ||
- name: persistable_polygon | ||
using: | ||
foreign_key_constraint_on: polygon_id | ||
array_relationships: | ||
- name: access_space_alternative_names | ||
using: | ||
foreign_key_constraint_on: | ||
column: access_space_id | ||
table: | ||
name: access_space_alternative_names | ||
schema: public | ||
- name: access_space_equipment_places | ||
using: | ||
foreign_key_constraint_on: | ||
column: access_space_id | ||
table: | ||
name: access_space_equipment_places | ||
schema: public | ||
- name: access_space_key_values | ||
using: | ||
foreign_key_constraint_on: | ||
column: access_space_id | ||
table: | ||
name: access_space_key_values | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_access_space_alternative_names.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: access_space_alternative_names | ||
schema: public | ||
object_relationships: | ||
- name: alternative_name | ||
using: | ||
foreign_key_constraint_on: alternative_names_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_access_space_check_constraints.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: access_space_check_constraints | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_access_space_equipment_places.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: access_space_equipment_places | ||
schema: public | ||
object_relationships: | ||
- name: equipment_place | ||
using: | ||
foreign_key_constraint_on: equipment_places_id |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_access_space_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: access_space_key_values | ||
schema: public | ||
object_relationships: | ||
- name: value | ||
using: | ||
foreign_key_constraint_on: key_values_id |
11 changes: 11 additions & 0 deletions
11
metadata/hsl/databases/tiamatdb/tables/public_accessibility_assessment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
table: | ||
name: accessibility_assessment | ||
schema: public | ||
array_relationships: | ||
- name: accessibility_assessment_limitations | ||
using: | ||
foreign_key_constraint_on: | ||
column: accessibility_assessment_id | ||
table: | ||
name: accessibility_assessment_limitations | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_accessibility_assessment_limitations.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: accessibility_assessment_limitations | ||
schema: public | ||
object_relationships: | ||
- name: accessibility_limitation | ||
using: | ||
foreign_key_constraint_on: limitations_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_accessibility_limitation.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: accessibility_limitation | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_alternative_name.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: alternative_name | ||
schema: public |
32 changes: 32 additions & 0 deletions
32
metadata/hsl/databases/tiamatdb/tables/public_boarding_position.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
table: | ||
name: boarding_position | ||
schema: public | ||
object_relationships: | ||
- name: installed_equipment_version_structure | ||
using: | ||
foreign_key_constraint_on: place_equipments_id | ||
- name: persistable_polygon | ||
using: | ||
foreign_key_constraint_on: polygon_id | ||
array_relationships: | ||
- name: boarding_position_alternative_names | ||
using: | ||
foreign_key_constraint_on: | ||
column: boarding_position_id | ||
table: | ||
name: boarding_position_alternative_names | ||
schema: public | ||
- name: boarding_position_equipment_places | ||
using: | ||
foreign_key_constraint_on: | ||
column: boarding_position_id | ||
table: | ||
name: boarding_position_equipment_places | ||
schema: public | ||
- name: boarding_position_key_values | ||
using: | ||
foreign_key_constraint_on: | ||
column: boarding_position_id | ||
table: | ||
name: boarding_position_key_values | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_boarding_position_alternative_names.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: boarding_position_alternative_names | ||
schema: public | ||
object_relationships: | ||
- name: alternative_name | ||
using: | ||
foreign_key_constraint_on: alternative_names_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_boarding_position_check_constraints.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: boarding_position_check_constraints | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_boarding_position_equipment_places.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: boarding_position_equipment_places | ||
schema: public | ||
object_relationships: | ||
- name: equipment_place | ||
using: | ||
foreign_key_constraint_on: equipment_places_id |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_boarding_position_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: boarding_position_key_values | ||
schema: public | ||
object_relationships: | ||
- name: value | ||
using: | ||
foreign_key_constraint_on: key_values_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_check_constraint.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: check_constraint | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_check_constraint_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: check_constraint_key_values | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_destination_display_view.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: destination_display_view | ||
schema: public |
22 changes: 22 additions & 0 deletions
22
metadata/hsl/databases/tiamatdb/tables/public_equipment_place.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
table: | ||
name: equipment_place | ||
schema: public | ||
object_relationships: | ||
- name: persistable_polygon | ||
using: | ||
foreign_key_constraint_on: polygon_id | ||
array_relationships: | ||
- name: equipment_place_equipment_positions | ||
using: | ||
foreign_key_constraint_on: | ||
column: equipment_place_id | ||
table: | ||
name: equipment_place_equipment_positions | ||
schema: public | ||
- name: equipment_place_key_values | ||
using: | ||
foreign_key_constraint_on: | ||
column: equipment_place_id | ||
table: | ||
name: equipment_place_key_values | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_equipment_place_equipment_positions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: equipment_place_equipment_positions | ||
schema: public | ||
object_relationships: | ||
- name: equipment_position | ||
using: | ||
foreign_key_constraint_on: equipment_positions_id |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_equipment_place_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: equipment_place_key_values | ||
schema: public | ||
object_relationships: | ||
- name: value | ||
using: | ||
foreign_key_constraint_on: key_values_id |
15 changes: 15 additions & 0 deletions
15
metadata/hsl/databases/tiamatdb/tables/public_equipment_position.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
table: | ||
name: equipment_position | ||
schema: public | ||
object_relationships: | ||
- name: multilingual_string_entity | ||
using: | ||
foreign_key_constraint_on: description_id | ||
array_relationships: | ||
- name: equipment_position_key_values | ||
using: | ||
foreign_key_constraint_on: | ||
column: equipment_position_id | ||
table: | ||
name: equipment_position_key_values | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_equipment_position_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: equipment_position_key_values | ||
schema: public | ||
object_relationships: | ||
- name: value | ||
using: | ||
foreign_key_constraint_on: key_values_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_export_job.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: export_job | ||
schema: public |
29 changes: 29 additions & 0 deletions
29
metadata/hsl/databases/tiamatdb/tables/public_fare_zone.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
table: | ||
name: fare_zone | ||
schema: public | ||
object_relationships: | ||
- name: persistable_polygon | ||
using: | ||
foreign_key_constraint_on: polygon_id | ||
array_relationships: | ||
- name: fare_zone_key_values | ||
using: | ||
foreign_key_constraint_on: | ||
column: fare_zone_id | ||
table: | ||
name: fare_zone_key_values | ||
schema: public | ||
- name: fare_zone_members | ||
using: | ||
foreign_key_constraint_on: | ||
column: fare_zone_id | ||
table: | ||
name: fare_zone_members | ||
schema: public | ||
- name: fare_zone_neighbours | ||
using: | ||
foreign_key_constraint_on: | ||
column: fare_zone_id | ||
table: | ||
name: fare_zone_neighbours | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_fare_zone_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: fare_zone_key_values | ||
schema: public | ||
object_relationships: | ||
- name: value | ||
using: | ||
foreign_key_constraint_on: key_values_id |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_fare_zone_members.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: fare_zone_members | ||
schema: public | ||
object_relationships: | ||
- name: fare_zone | ||
using: | ||
foreign_key_constraint_on: fare_zone_id |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_fare_zone_neighbours.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: fare_zone_neighbours | ||
schema: public | ||
object_relationships: | ||
- name: fare_zone | ||
using: | ||
foreign_key_constraint_on: fare_zone_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_geography_columns.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: geography_columns | ||
schema: public |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_geometry_columns.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: geometry_columns | ||
schema: public |
25 changes: 25 additions & 0 deletions
25
metadata/hsl/databases/tiamatdb/tables/public_group_of_stop_places.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
table: | ||
name: group_of_stop_places | ||
schema: public | ||
array_relationships: | ||
- name: group_of_stop_places_alternative_names | ||
using: | ||
foreign_key_constraint_on: | ||
column: group_of_stop_places_id | ||
table: | ||
name: group_of_stop_places_alternative_names | ||
schema: public | ||
- name: group_of_stop_places_key_values | ||
using: | ||
foreign_key_constraint_on: | ||
column: group_of_stop_places_id | ||
table: | ||
name: group_of_stop_places_key_values | ||
schema: public | ||
- name: group_of_stop_places_members | ||
using: | ||
foreign_key_constraint_on: | ||
column: group_of_stop_places_id | ||
table: | ||
name: group_of_stop_places_members | ||
schema: public |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_group_of_stop_places_alternative_names.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: group_of_stop_places_alternative_names | ||
schema: public | ||
object_relationships: | ||
- name: alternative_name | ||
using: | ||
foreign_key_constraint_on: alternative_names_id |
7 changes: 7 additions & 0 deletions
7
metadata/hsl/databases/tiamatdb/tables/public_group_of_stop_places_key_values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
table: | ||
name: group_of_stop_places_key_values | ||
schema: public | ||
object_relationships: | ||
- name: value | ||
using: | ||
foreign_key_constraint_on: key_values_id |
3 changes: 3 additions & 0 deletions
3
metadata/hsl/databases/tiamatdb/tables/public_group_of_stop_places_members.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
table: | ||
name: group_of_stop_places_members | ||
schema: public |
Oops, something went wrong.