Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
||||||
| tenant_id | uuid | 2147483647 | null |
|
|
||||||
| name | varchar | 256 | √ | null |
|
|
|||||
| serial_number | varchar | 256 | null |
|
|
||||||
| model | varchar | 256 | √ | null |
|
|
|||||
| make | varchar | 256 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | √ | now() |
|
|
|||||
| created_by | uuid | 2147483647 | √ | null |
|
|
|||||
| updated_at | timestamptz | 35,6 | √ | null |
|
|
|||||
| updated_by | uuid | 2147483647 | √ | null |
|
|
|||||
| is_system | bool | 1 | false |
|
|
||||||
| feature_id | uuid | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_sms_hiboo_equipment | Primary key | Asc | id |
| IX_sms_hiboo_equipment_created_at | Performance | Asc | created_at |
| IX_sms_hiboo_equipment_feature_id | Performance | Asc | feature_id |
| IX_sms_hiboo_equipment_id | Must be unique | Asc | id |
| IX_sms_hiboo_equipment_is_system | Performance | Asc | is_system |
| IX_sms_hiboo_equipment_tenant_id | Performance | Asc | tenant_id |