This commit is contained in:
2026-05-21 19:29:46 +02:00
parent 5b2702daed
commit 23d3356e6b
3 changed files with 11 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ class TicketRepository {
.from(_tableName)
.select('''
*,
${Tables.customers} (*),
customer:${Tables.customers}!ticket_customer_id_fkey (*),
${Tables.shippingDocuments} (*, ${Tables.attachments} (*)),
created_by:${Tables.staffMembers}!ticket_staff_id_fkey (*),
assigned_to:${Tables.staffMembers}!ticket_assigned_to_id_fkey (*),
@@ -89,7 +89,7 @@ class TicketRepository {
.from(_tableName)
.select('''
*,
${Tables.customers} (*),
customer:${Tables.customers}!ticket_customer_id_fkey (*),
${Tables.shippingDocuments} (*, ${Tables.attachments} (*)),
created_by:${Tables.staffMembers}!ticket_staff_id_fkey (*),
assigned_to:${Tables.staffMembers}!ticket_assigned_to_id_fkey (*),
@@ -200,7 +200,7 @@ class TicketRepository {
.from(_tableName)
.select('''
*,
${Tables.customers} (*),
customer:${Tables.customers}!ticket_customer_id_fkey (*),
target_model:${Tables.models}!ticket_model_id_1_fkey (*),
source_model:${Tables.models}!ticket_model_id_2_fkey (*),
created_by:${Tables.staffMembers}!ticket_staff_id_fkey (*),