From 97516b65a004421256db476f29c34c84e3767f1b Mon Sep 17 00:00:00 2001 From: avicenan Date: Tue, 9 Jun 2026 09:56:45 +0900 Subject: [PATCH] feat(notification): add new column of title, reference_type and reference_id --- src/entity/notification.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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,