‹ All templates
OPERATIONS TEMPLATE

Helpdesk & tickets

Connect customers to the right agents with tickets, priorities, and conversations.

4 tables3 relationships4 SQL dialects
Use this template

A practical foundation, ready to adapt

This template models the core entities of a helpdesk & tickets system. It gives each entity an integer primary key and connects related records with explicit foreign keys. Open it in the designer to adjust names, add fields, and choose the rules that fit your application.

What’s included

customers

id (integer), name (varchar), email (varchar).

agents

id (integer), name (varchar), email (varchar).

tickets

id (integer), customer_id (integer), agent_id (integer), subject (varchar), status (varchar), priority (integer).

messages

id (integer), ticket_id (integer), body (text), created_at (timestamp).

Before you build

Review nullability, uniqueness, indexes, and deletion rules for your use case. This is a starting schema, not a complete application. It does not include application logic, authorization, or migrations. Monetary fields use decimal values; timestamps and authentication fields still need appropriate handling in your application.

Keep a JSON backup as you customize the project. Then select your SQL dialect, resolve any validation issues, and review the generated statements before running them.

Learn how relationships work or explore primary keys and constraints.