From 1de1187452f9104e85d9526c4bf80a6aeebf7e27 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 31 Oct 2021 04:58:21 +0100 Subject: [PATCH] corrected model to utilize Node10 BigInt --- database/entity/0003-login_server_tables/LoginUser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/entity/0003-login_server_tables/LoginUser.ts b/database/entity/0003-login_server_tables/LoginUser.ts index 26614b4db..1b444b0e4 100644 --- a/database/entity/0003-login_server_tables/LoginUser.ts +++ b/database/entity/0003-login_server_tables/LoginUser.ts @@ -22,7 +22,7 @@ export class LoginUser extends BaseEntity { description: string @Column({ type: 'bigint', default: 0, unsigned: true }) - password: string + password: BigInt @Column({ name: 'pubkey', type: 'binary', length: 32, default: null, nullable: true }) pubKey: Buffer