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;
|
||||
|
||||
@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,
|
||||
|
||||
Reference in New Issue
Block a user