Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
|||
| client_id | VARCHAR | 36 | null |
|
|
|||
| user_id | VARCHAR | 36 | null |
|
|
|||
| location_business_line_id | VARCHAR | 36 | √ | null |
|
|
||
| role | VARCHAR | 20 | null |
|
|
|||
| start_date | DATE | 10 | √ | null |
|
|
||
| end_date | DATE | 10 | √ | null |
|
|
||
| is_active | BIT | 1 | √ | 1 |
|
|
||
| created_at | TIMESTAMP | 19 | CURRENT_TIMESTAMP |
|
|
|||
| updated_at | TIMESTAMP | 19 | √ | null |
|
|
||
| created_by | VARCHAR | 255 | √ | null |
|
|
||
| updated_by | VARCHAR | 255 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_assignment_client_id | Performance | Asc | client_id |
| idx_assignment_role | Performance | Asc | role |
| idx_assignment_user_id | Performance | Asc | user_id |
| idx_cua_location | Performance | Asc | location_business_line_id |