Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('app_context_id_seq'::regclass) |
|
||||||
| contextlevel | int8 | 19 | 0 |
|
|
||||||
| instanceid | int8 | 19 | 0 |
|
|
||||||
| path | varchar | 255 | √ | null |
|
|
|||||
| depth | int2 | 5 | 0 |
|
|
||||||
| parentid | int8 | 19 | √ | null |
|
|
|||||
| tenantid | int8 | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| app_cont_id_pk | Primary key | Asc | id |
| app_cont_conins_uix | Must be unique | Asc/Asc | contextlevel + instanceid |
| app_cont_ins_ix | Performance | Asc | instanceid |
| app_cont_par_ix | Performance | Asc | parentid |
| app_cont_pat_ix | Performance | Asc | path |
| app_cont_pat_ix_pattern | Performance | Asc | path |
| app_cont_ten_ix | Performance | Asc | tenantid |

