update: add no paginate to the user get

This commit is contained in:
Mahyargdz
2025-05-12 12:23:13 +03:30
parent e8402b673f
commit e3a75f16a0
6 changed files with 72 additions and 7 deletions
@@ -17,7 +17,7 @@ export class TicketMessage extends BaseEntity {
@ManyToOne(() => Ticket, (ticket) => ticket.messages, { onDelete: "CASCADE", nullable: false })
ticket: Ticket;
@ManyToOne(() => User, (user) => user.ticketMessage, { onDelete: "SET NULL", nullable: true })
@ManyToOne(() => User, (user) => user.ticketMessage, { onDelete: "CASCADE", nullable: false })
@JoinColumn()
author: User;
}