feat(notification): add new column of title, reference_type and reference_id
This commit is contained in:
@ -26,12 +26,32 @@ export class Notification {
|
|||||||
})
|
})
|
||||||
type: string;
|
type: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: "varchar",
|
||||||
|
length: 255,
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
title: string | null;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
type: "text",
|
type: "text",
|
||||||
nullable: false,
|
nullable: false,
|
||||||
})
|
})
|
||||||
message: string;
|
message: string;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: "varchar",
|
||||||
|
length: 50,
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
reference_type: string | null;
|
||||||
|
|
||||||
|
@Column({
|
||||||
|
type: "uuid",
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
reference_id: string | null;
|
||||||
|
|
||||||
@Column({
|
@Column({
|
||||||
type: "jsonb",
|
type: "jsonb",
|
||||||
nullable: true,
|
nullable: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user