feat(notification): add new column of title, reference_type and reference_id

This commit is contained in:
avicenan
2026-06-09 09:56:45 +09:00
parent 41090fb418
commit 97516b65a0

View File

@ -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,