diff --git a/src/modules/notifications/entities/notification.entity.ts b/src/modules/notifications/entities/notification.entity.ts index b960421..b99434e 100644 --- a/src/modules/notifications/entities/notification.entity.ts +++ b/src/modules/notifications/entities/notification.entity.ts @@ -10,6 +10,17 @@ export class AppNotification extends BaseEntity { }) isRead: boolean; + @Column({ + type: 'varchar', + length: 100 + }) + subject: string; + + @Column({ + type: 'text' + }) + message: string; + @ManyToOne(() => User, (user) => user.notifications) receiver: User;