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. |
|||||
name | varchar | 256 | null |
|
|
||||||
element_id | uuid | 2147483647 | null |
|
|
||||||
constraint_id | uuid | 2147483647 | √ | null |
|
|
|||||
display_name | varchar | 256 | √ | null |
|
|
|||||
index | int4 | 10 | √ | null |
|
|
Display index (only positive numbers) |
||||
data_index | int4 | 10 | √ | null |
|
|
Index used for specific external structures (only positive numbers) |
||||
category_name | varchar | 256 | √ | null |
|
|
|||||
data_type | int4 | 10 | 0 |
|
|
||||||
data_context | int4 | 10 | 0 |
|
|
||||||
expression | text | 2147483647 | √ | null |
|
|
|||||
format | text | 2147483647 | √ | null |
|
|
|||||
default_value | text | 2147483647 | √ | null |
|
|
|||||
bool | 1 | false |
|
|
|||||||
is_readonly | bool | 1 | false |
|
|
||||||
created_at | timestamptz | 35,6 | now() |
|
|
DateTime the record was created. |
|||||
created_by | uuid | 2147483647 | √ | null |
|
|
User who create the record. Null if System. |
||||
updated_at | timestamptz | 35,6 | √ | null |
|
|
DateTime the record was last updated. |
||||
updated_by | uuid | 2147483647 | √ | null |
|
|
User who last updated the record. |
||||
is_system | bool | 1 | false |
|
|
A system-generated record. Default = false |
|||||
description | text | 2147483647 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PK_attributes | Primary key | Asc | id |
IX_attributes_constraint_id | Performance | Asc | constraint_id |
IX_attributes_created_at | Performance | Asc | created_at |
IX_attributes_data_context | Performance | Asc | data_context |
IX_attributes_data_type | Performance | Asc | data_type |
IX_attributes_element_id | Performance | Asc | element_id |
IX_attributes_id | Must be unique | Asc | id |
IX_attributes_is_system | Performance | Asc | is_system |
IX_attributes_name | Performance | Asc | name |
IX_attributes_tenant_id | Performance | Asc | tenant_id |