chore: complete notification module
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user