chore: complete notification module

This commit is contained in:
Matin
2025-02-08 12:18:25 +03:30
parent 786ea465ff
commit ab23706b6a
2 changed files with 7 additions and 7 deletions
@@ -22,6 +22,6 @@ export class Notification extends BaseEntity {
@Column({ type: "boolean", default: false })
isRead: boolean;
@ManyToOne(() => User, (user) => user.notifications, { onDelete: "CASCADE", eager: true })
@ManyToOne(() => User, (user) => user.notifications, { onDelete: "CASCADE" })
recipient: User;
}