roads

-1 rows


Description

Roads. This is a non-spatial table listing all unique roads codes. It is a parent of the table edges.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int4 10 √ null

Unique integer ID (automatic)

road_code text 2147483647 null
edges.road_code edges_road_code_fkey R
markers.road_code markers_road_code_fkey R
glossary_graph_check.code Implied Constraint R
road_type text 2147483647 'road'::text

Type of the road : road, roundabout. It is used by the trigger functions: glossary must be respected

road_class text 2147483647 null
glossary_road_class.code roads_road_scale_fkey R
road_class_code text 2147483647 √ null
glossary_graph_check.code Implied Constraint R
is_active bool 1 √ true
road_topic text 2147483647 √ null
is_access_road bool 1 √ false
created_at timestamp 29,6 √ (now())::timestamp(0) without time zone
updated_at timestamp 29,6 √ (now())::timestamp(0) without time zone
uid text 2147483647 √ (uuid_generate_v4())::text

Indexes

Constraint Name Type Sort Column(s)
roads_pkey Primary key Asc id
roads_road_code_idx Performance Asc road_code
roads_road_code_key Must be unique Asc road_code

Check Constraints

Constraint Name Constraint
roads_road_type_values (road_type = ANY (ARRAY['road'::text, 'roundabout'::text]))

Relationships