Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| idunit | int4 | 10 | null |
|
|
||||||
| idunitgroup | int4 | 10 | null |
|
|
||||||
| createbyuser | int8 | 19 | null |
|
|
||||||
| creationdate | timestamp | 29,6 | null |
|
|
||||||
| lastmodifiedbyuser | int8 | 19 | null |
|
|
||||||
| lastmodificationdate | timestamp | 29,6 | null |
|
|
||||||
| originatingsystem | varchar | 50 | null |
|
|
||||||
| enabled | bool | 1 | true |
|
|
||||||
| expiration_date | timestamptz | 35,6 | √ | null |
|
|
When this expiration_date is reached a scheduled process should remove the record and log it for auditing |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| unit_unitgroup_pkey | Primary key | Asc/Asc | idunit + idunitgroup |
| idx_unit_unitgroup_idunit | Performance | Asc | idunit |
| idx_unit_unitgroup_idunitgroup | Performance | Asc | idunitgroup |



