Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| tenant_id | uuid | 2147483647 | null |
|
|
||||||
| calendar_day_id | int4 | 10 | null |
|
|
||||||
| equipment_id | uuid | 2147483647 | null |
|
|
||||||
| received_at | timestamptz | 35,6 | now() |
|
|
||||||
| operating_hours | float8 | 17,17 | √ | null |
|
|
|||||
| idle_hours | float8 | 17,17 | √ | null |
|
|
|||||
| working_hours | float8 | 17,17 | √ | null |
|
|
|||||
| fuel_used | float8 | 17,17 | √ | null |
|
|
|||||
| distance | float8 | 17,17 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_sms_hiboo_daily_data | Primary key | Asc/Asc | calendar_day_id + equipment_id |
| IX_sms_hiboo_daily_data_equipment_id | Performance | Asc | equipment_id |
| IX_sms_hiboo_daily_data_received_at | Performance | Asc | received_at |
| IX_sms_hiboo_daily_data_tenant_id | Performance | Asc | tenant_id |