Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | int4 | 10 | √ | null |
|
|
||||||||
tenant_id | uuid | 2147483647 | null |
|
|
|||||||||
name | 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 |
|
|
|||||||||
calculation_type | int4 | 10 | 0 |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_sms_machine_type | Primary key | Asc/Asc | id + tenant_id |
IX_sms_machine_type_calculation_type | Performance | Asc | calculation_type |
IX_sms_machine_type_created_at | Performance | Asc | created_at |
IX_sms_machine_type_is_system | Performance | Asc | is_system |
IX_sms_machine_type_tenant_id1 | Performance | Asc | tenant_id |