corrected model to utilize Node10 BigInt

This commit is contained in:
Ulf Gebhardt 2021-10-31 04:58:21 +01:00
parent 472391a8d2
commit 1de1187452
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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