From 6d3d82b6713b8f10a77688617730ead642a5b2df Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 2 Nov 2025 18:28:24 +0700 Subject: [PATCH 1/4] update --- src/entity/trx_banks.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/entity/trx_banks.ts b/src/entity/trx_banks.ts index 86f3745..23c6a56 100644 --- a/src/entity/trx_banks.ts +++ b/src/entity/trx_banks.ts @@ -45,6 +45,13 @@ export class TrxBank { }) bsb: boolean; + @Column({ + type: "int", + array: true, + nullable: true, + }) + pattern: number[]; + @Column() @CreateDateColumn() created_at: Date; From 13f4627facba86ecffadadced0112831c79e0c55 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 2 Nov 2025 18:31:13 +0700 Subject: [PATCH 2/4] update --- src/entity/trx_banks.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/entity/trx_banks.ts b/src/entity/trx_banks.ts index 23c6a56..4b88519 100644 --- a/src/entity/trx_banks.ts +++ b/src/entity/trx_banks.ts @@ -49,6 +49,7 @@ export class TrxBank { type: "int", array: true, nullable: true, + default: () => "'{}'", }) pattern: number[]; From 5b2e9e1b2906ed3a0b1e7fe0894381b2f06a12cf Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 2 Nov 2025 18:32:44 +0700 Subject: [PATCH 3/4] update --- src/entity/trx_banks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/trx_banks.ts b/src/entity/trx_banks.ts index 4b88519..f5207f8 100644 --- a/src/entity/trx_banks.ts +++ b/src/entity/trx_banks.ts @@ -48,7 +48,7 @@ export class TrxBank { @Column({ type: "int", array: true, - nullable: true, + nullable: false, default: () => "'{}'", }) pattern: number[]; From b0543f2cd2dd83ac8ed71e87d3475e70888bc8bb Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 2 Nov 2025 18:33:12 +0700 Subject: [PATCH 4/4] update --- src/entity/trx_banks.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/entity/trx_banks.ts b/src/entity/trx_banks.ts index f5207f8..31258d8 100644 --- a/src/entity/trx_banks.ts +++ b/src/entity/trx_banks.ts @@ -46,12 +46,10 @@ export class TrxBank { bsb: boolean; @Column({ - type: "int", - array: true, - nullable: false, - default: () => "'{}'", + nullable: true, + length: 225, }) - pattern: number[]; + pattern: string; @Column() @CreateDateColumn()