update: add new logic for push token
This commit is contained in:
@@ -58,8 +58,9 @@ export class User extends BaseEntity {
|
||||
@Property({ type: "timestamptz", nullable: true })
|
||||
twoFactorEnabledAt?: Date;
|
||||
|
||||
@Property({ type: "varchar", nullable: true })
|
||||
pushToken?: string;
|
||||
// Push notification tokens from different devices
|
||||
@Property({ type: "json", nullable: true })
|
||||
pushTokens?: string[];
|
||||
|
||||
//=========================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user