Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
Unique identifier. |
|||||
| tenant_id | uuid | 2147483647 | null |
|
|
Tenant identifier. |
|||||
| day_id | int4 | 10 | null |
|
|
||||||
| shift_day_id | uuid | 2147483647 | √ | null |
|
|
|||||
| type | text | 2147483647 | √ | null |
|
|
|||||
| start_date | timestamptz | 35,6 | null |
|
|
||||||
| duration | int4 | 10 | √ | null |
|
|
|||||
| distance | float8 | 17,17 | √ | null |
|
|
|||||
| geometry | geometry | 2147483647 | √ | null |
|
|
|||||
| loader_id | uuid | 2147483647 | √ | null |
|
|
|||||
| start_daily_zone_id | uuid | 2147483647 | √ | null |
|
|
|||||
| end_daily_zone_id | uuid | 2147483647 | √ | null |
|
|
|||||
| centroid | geometry | 2147483647 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | now() |
|
|
DateTime the record was created. |
|||||
| feature_id | uuid | 2147483647 | √ | null |
|
|
|||||
| zone_id | uuid | 2147483647 | √ | null |
|
|
|||||
| loader_parameter_id | uuid | 2147483647 | √ | null |
|
|
|||||
| shift_day_name | text | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_sms_loader_move | Primary key | Asc | id |
| IX_sms_loader_move_centroid | Performance | Asc | centroid |
| IX_sms_loader_move_created_at | Performance | Asc | created_at |
| IX_sms_loader_move_day_id | Performance | Asc | day_id |
| IX_sms_loader_move_end_daily_zone_id | Performance | Asc | end_daily_zone_id |
| IX_sms_loader_move_feature_id | Performance | Asc | feature_id |
| IX_sms_loader_move_geometry | Performance | Asc | geometry |
| IX_sms_loader_move_id | Must be unique | Asc | id |
| IX_sms_loader_move_loader_parameter_id | Performance | Asc | loader_parameter_id |
| IX_sms_loader_move_shift_day_id | Performance | Asc | shift_day_id |
| IX_sms_loader_move_start_daily_zone_id | Performance | Asc | start_daily_zone_id |
| IX_sms_loader_move_tenant_id | Performance | Asc | tenant_id |
| IX_sms_loader_move_type | Performance | Asc | type |
| IX_sms_loader_move_zone_id | Performance | Asc | zone_id |
| UQ_sms_loader_move_loaderid_startdate | Must be unique | Asc/Asc | loader_id + start_date |