Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | CHAR | 36 | null |
|
|
||||||||||||
| name | VARCHAR | 125 | null |
|
|
||||||||||||
| trade_id | CHAR | 36 | √ | null |
|
|
|||||||||||
| image | VARCHAR | 125 | √ | null |
|
|
|||||||||||
| sort_order | INT | 10 | null |
|
|
||||||||||||
| color | VARCHAR | 10 | √ | null |
|
|
|||||||||||
| created_by | CHAR | 36 | null |
|
|
||||||||||||
| tenant_id | CHAR | 36 | null |
|
|
||||||||||||
| created_at | TIMESTAMP | 19 | √ | null |
|
|
|||||||||||
| updated_at | TIMESTAMP | 19 | √ | null |
|
|
|||||||||||
| deleted_at | TIMESTAMP | 19 | √ | null |
|
|
|||||||||||
| parent_id | VARCHAR | 36 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| job_types_created_by_foreign | Performance | Asc | created_by |
| job_types_tenant_id_foreign | Performance | Asc | tenant_id |
| job_types_trade_id_foreign | Performance | Asc | trade_id |

