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. |
|||||
| map_id | uuid | 2147483647 | null |
|
|
||||||
| name | varchar | 256 | null |
|
|
||||||
| type | int4 | 10 | 0 |
|
|
||||||
| element_id | uuid | 2147483647 | √ | null |
|
|
|||||
| basemap_id | uuid | 2147483647 | √ | null |
|
|
|||||
| label | text | 2147483647 | √ | null |
|
|
|||||
| bool | 1 | false |
|
|
|||||||
| is_selected | bool | 1 | false |
|
|
||||||
| is_expanded | bool | 1 | false |
|
|
||||||
| is_selectable | bool | 1 | false |
|
|
||||||
| is_expandable | bool | 1 | false |
|
|
||||||
| is_editable | bool | 1 | false |
|
|
||||||
| group_id | uuid | 2147483647 | √ | null |
|
|
|||||
| index | int4 | 10 | √ | null |
|
|
|||||
| 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 |
|
|
|||||
| refresh_interval | int4 | 10 | 0 |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_layers | Primary key | Asc | id |
| IX_layers_basemap_id | Performance | Asc | basemap_id |
| IX_layers_created_at | Performance | Asc | created_at |
| IX_layers_element_id | Performance | Asc | element_id |
| IX_layers_group_id | Performance | Asc | group_id |
| IX_layers_id | Must be unique | Asc | id |
| IX_layers_is_system | Performance | Asc | is_system |
| IX_layers_map_id | Performance | Asc | map_id |
| IX_layers_name | Performance | Asc | name |
| IX_layers_tenant_id | Performance | Asc | tenant_id |
| IX_layers_type | Performance | Asc | type |