update: add new logic for push token

This commit is contained in:
mahyargdz
2025-07-28 12:35:18 +03:30
parent 1f932e6f7e
commit b683633e48
11 changed files with 427 additions and 21 deletions
+3 -2
View File
@@ -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[];
//=========================