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. |
|||||
machine_id | text | 2147483647 | √ | null |
|
|
|||||
type | int4 | 10 | √ | null |
|
|
|||||
material | int4 | 10 | √ | null |
|
|
|||||
lat | numeric | 0 | √ | null |
|
|
|||||
lon | numeric | 0 | √ | null |
|
|
|||||
created_at | timestamptz | 35,6 | now() |
|
|
DateTime the record was created. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_sms_mobile_events | Primary key | Asc | id |
IX_sms_mobile_events_created_at | Performance | Asc | created_at |
IX_sms_mobile_events_id | Must be unique | Asc | id |
IX_sms_mobile_events_machine_id | Performance | Asc | machine_id |
IX_sms_mobile_events_tenant_id | Performance | Asc | tenant_id |