Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | √ | null |
|
|
Unique integer ID (automatic) |
||||||||||
| road_code | text | 2147483647 | null |
|
|
||||||||||||
| 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 |
|
|
||||||||||||
| road_class_code | text | 2147483647 | √ | null |
|
|
|||||||||||
| 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])) |



