Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | VARCHAR | 36 | null |
|
|
||||||
| location_business_line_id | VARCHAR | 36 | null |
|
|
||||||
| service_plan_id | VARCHAR | 36 | null |
|
|
||||||
| category_definition_id | VARCHAR | 36 | null |
|
|
||||||
| name | VARCHAR | 255 | null |
|
|
||||||
| description | TEXT | 65535 | √ | null |
|
|
|||||
| start_date | DATE | 10 | √ | null |
|
|
|||||
| end_date | DATE | 10 | √ | null |
|
|
|||||
| status | VARCHAR | 20 | ONGOING |
|
|
||||||
| is_active | BIT | 1 | 1 |
|
|
||||||
| is_data_collection_enabled | BIT | 1 | 1 |
|
|
||||||
| created_at | TIMESTAMP | 19 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated_at | TIMESTAMP | 19 | √ | null |
|
|
|||||
| created_by | VARCHAR | 100 | √ | system |
|
|
|||||
| updated_by | VARCHAR | 100 | √ | system |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_sp_custom_cat_def | Performance | Asc | category_definition_id |
| idx_sp_custom_cat_loc | Performance | Asc | location_business_line_id |
| idx_sp_custom_cat_sp | Performance | Asc | service_plan_id |