Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ENTRY_ID | CHAR | 36 | null |
|
|
Identifier of the compensating entry |
|||||
| COMPENSATED_ENTRY_ID | CHAR | 36 | null |
|
|
Identifier of the compensated entry |
|||||
| ACTIVE | TINYINT | 3 | √ | 1 |
|
|
Marks if a given entry is active (if not active, 0 is stored) |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | ENTRY_ID |
| DTW_BST_COMPENSATED_ENTRY_ID_FK | Performance | Asc | COMPENSATED_ENTRY_ID |
| DTW_BST_COMPENSATING_ENTRY_ENTRY_IDX | Must be unique | Asc/Asc | ENTRY_ID + ACTIVE |

