diff --git a/src/entity/notification.ts b/src/entity/notification.ts index abd4643..4d8e8c4 100644 --- a/src/entity/notification.ts +++ b/src/entity/notification.ts @@ -26,12 +26,32 @@ export class Notification { }) type: string; + @Column({ + type: "varchar", + length: 255, + nullable: true, + }) + title: string | null; + @Column({ type: "text", nullable: false, }) message: string; + @Column({ + type: "varchar", + length: 50, + nullable: true, + }) + reference_type: string | null; + + @Column({ + type: "uuid", + nullable: true, + }) + reference_id: string | null; + @Column({ type: "jsonb", nullable: true,