Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_tickethistory_id_seq'::regclass) |
|
|
Primary key |
||||
| ticketid | int8 | 19 | null |
|
|
FK: public.tbl_ticket.ticketid |
|||||
| ticketcategoryid | int8 | 19 | null |
|
|
The ticket category ID at the time of this history event (e.g., if the category was changed). |
|||||
| subject | varchar | 200 | √ | null |
|
|
The subject of the ticket at the time of this history event. |
||||
| description | varchar | 1000 | √ | null |
|
|
The description of the ticket at the time of this history event. |
||||
| assigneeid | varchar | 500 | √ | null |
|
|
The ID of the support staff member assigned to the ticket at the time of this history event. |
||||
| ticketstatusid | int8 | 19 | √ | null |
|
|
The status ID of the ticket at the time of this history event (e.g., records when the status changed from “New” to “In Progress”). |
||||
| priorityid | int8 | 19 | √ | null |
|
|
The priority ID of the ticket at the time of this history event. |
||||
| ratingid | int8 | 19 | √ | null |
|
|
The rating or satisfaction score provided by the requester upon resolution (often captured as the final history event). |
||||
| attachment | varchar | 500 | √ | null |
|
|
The file path or name of any attachment added during this history event (e.g., a screenshot or document). |
||||
| comment | varchar | 1000 | √ | null |
|
|
The text of the comment or internal note recorded during this history event. |
||||
| companyid | int4 | 10 | null |
|
|
FK: Reference to a company master table |
|||||
| escalationdate | timestamp | 29,6 | √ | null |
|
|
The timestamp when the ticket was officially escalated. |
||||
| reminderdate | timestamp | 29,6 | √ | null |
|
|
The timestamp when an internal or external reminder was set for the ticket. |
||||
| createdby | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid or public.tbl_userlogin.id |
||||
| createddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of when the history record was created (i.e., when the action or change occurred). |
||||
| modifiedby | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid or public.tbl_userlogin.id |
||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Timestamp of the last modification to the history record. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_tickethistory_pk_tbl_ticket_id | Primary key | Asc | id |



