> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ticket_rel_def_ticket_type table

> Link table defining what Ticket types are involved in this relation. Will have M;N rows for a single relation definition

## ticket\_rel\_def\_ticket\_type Table (556)

Link table defining what Ticket types are involved in this relation. Will have M;N rows for a single relation definition

## Fields

| Name                               | Description                | Type                                                  | Nullable |
| ---------------------------------- | -------------------------- | ----------------------------------------------------- | :------: |
| ticket\_rel\_def\_ticket\_type\_id | Primary key                | PK                                                    |    No    |
| ticket\_relation\_def\_id          | Ticket relation definition | FK [ticket\_relation\_def](./ticket-relation-def.mdx) |    No    |
| source\_ticket\_type\_id           | Ticket type                | FK [ticket\_type](./ticket-type.mdx)                  |    No    |
| destination\_ticket\_type\_id      | Ticket type                | FK [ticket\_type](./ticket-type.mdx)                  |    No    |

<img src="https://mintcdn.com/superofficeas/8-OIGQQJR0VGDXy_/media/loc/en/database/tables/ticket_rel_def_ticket_type.png?fit=max&auto=format&n=8-OIGQQJR0VGDXy_&q=85&s=02fde01d59f8a81f3814e315b08f42d5" alt="ticket_rel_def_ticket_type table relationship diagram" width="859" height="59" data-path="media/loc/en/database/tables/ticket_rel_def_ticket_type.png" />

## Indexes

| Fields                                                                             | Types      | Description |
| ---------------------------------------------------------------------------------- | ---------- | ----------- |
| ticket\_relation\_def\_id, source\_ticket\_type\_id, destination\_ticket\_type\_id | FK, FK, FK | Unique      |

## Relationships

| Table                                          | Description                |
| ---------------------------------------------- | -------------------------- |
| [ticket\_relation\_def](./ticket-relation-def) | Ticket relation definition |
| [ticket\_type](./ticket-type)                  | A ticket (request) type    |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [ticket_relation_def table](/en/database/tables/ticket-relation-def.md)
- [ticket_type table](/en/database/tables/ticket-type.md)
- [ticket_type_priority table](/en/database/tables/ticket-type-priority.md)
- [ticket_type_status table](/en/database/tables/ticket-type-status.md)
- [ticket_relation table](/en/database/tables/ticket-relation.md)
- [Default Ticket Relation Entity](/en/api/reference/restful/rest/ticketrelation/default-ticket-relation-entity.md)
