From 4773c90635aa37bf10f844b57d72bf61a6c2686f Mon Sep 17 00:00:00 2001 From: fro1991 Date: Wed, 14 May 2025 23:12:03 +0700 Subject: [PATCH] brilink update --- src/entity/brilink_transactions.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/entity/brilink_transactions.ts b/src/entity/brilink_transactions.ts index dd98c5d..a8ac7b6 100644 --- a/src/entity/brilink_transactions.ts +++ b/src/entity/brilink_transactions.ts @@ -45,6 +45,18 @@ export class BrilinkTransaction { @Column({ nullable: false }) activity_at: Date; + @Column({ + length: 128, + nullable: true, + }) + target: string; + + @Column({ + type: 'jsonb', + nullable: true, + }) + target_data: Record; + @Column({ type: 'float8', nullable: false, @@ -72,6 +84,18 @@ export class BrilinkTransaction { }) status: BrilinkTransactionActivity; + @Column({ + length: 128, + nullable: true, + }) + reference: string; + + @Column({ + length: 1024, + nullable: true, + }) + remarks: string; + @Column({ nullable: false, default: false