Release version 1.3.1: Updated backend models and endpoints

This commit is contained in:
2026-02-03 13:54:05 -07:00
parent 0d7cdf51ca
commit 2125504831
13 changed files with 1650 additions and 18 deletions

View File

@@ -119,6 +119,12 @@ class Ticket(Base):
foreign_keys=[assigned_to],
back_populates="assigned_tickets"
)
comments: Mapped[list["TicketComment"]] = relationship(
"TicketComment",
back_populates="ticket",
cascade="all, delete-orphan"
)
# ✅ AÑADIDOS: Constraints según schema.sql
__table_args__ = (