Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ticketstatusid | bigserial | 19 | √ | nextval('tbl_ticketstatus_ticketstatusid_seq'::regclass) |
|
|
Primary key |
|||||||
| ticketstatusname | varchar | 100 | null |
|
|
The user-friendly name of the status (e.g., “New,” “In Progress,” “Pending Customer Reply,” “Resolved”). |
||||||||
| description | varchar | 500 | √ | null |
|
|
A detailed explanation of what this status means in the context of the workflow. |
|||||||
| escalation | bool | 1 | false |
|
|
Flag or rule defining if this status should trigger an escalation (e.g., if a ticket stays in “New” for more than 2 hours). |
||||||||
| status | bool | 1 | false |
|
|
The current lifecycle status of the status configuration itself (e.g., Active, Inactive). |
||||||||
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
|||||||
| createddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of when the status configuration record was created. |
|||||||
| modifiedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_userlogin.id or public.tbl_employee.employeeid |
|||||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of the last modification to the status configuration record. |
|||||||
| companyid | int4 | 10 | null |
|
|
FK: Reference to a company master table |
||||||||
| colorcode | varchar | 6 | √ | null |
|
|
A color code (e.g., HEX code) associated with the status for visual representation in dashboards and reports. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| pk_tbl_ticketstatus_ticketstatusid | Primary key | Asc | ticketstatusid |



