ticket_status_history Table (261)
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
This table contains the history of a tickets statuses. Each time a ticket changes status a copy of the previous status of the record will be saved
Fields
| Name | Description | Type | Null |
|---|---|---|---|
| id | The primary key (auto-incremented) | PK | |
| ticket_id | Reference to a ticket | FK ticket | |
| ticket_status | User defined ticket status | FK ticket_status | |
| timespan | The time (seconds) the ticket was in that status. Calculated based on priority's timeframe. | Int | ● |
| real_timespan | The time (seconds) the ticket was in that status. Not calculated based on priority's timeframe. | Int | ● |
| from_datetime | DateTime | ● | |
| to_datetime | DateTime | ● |

Indexes
| Fields | Types | Description |
|---|---|---|
| id | PK | Clustered, Unique |
| ticket_id | FK | Index |
| ticket_status | FK | Index |
Relationships
| Table | Description |
|---|---|
| ticket | This table contains the tickets (requests) of the system. Its purpose should be evident. |
| ticket_status | This table user defined ticket status values. |
Replication Flags
- None
Security Flags
- No access control via user's Role.