From c416e3365da967358285783bb94e1f13df943bd7 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Wed, 18 Jun 2025 13:09:13 +0900 Subject: [PATCH] update --- src/entity/remit_transactions.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/entity/remit_transactions.ts b/src/entity/remit_transactions.ts index 788bbca..7127aed 100644 --- a/src/entity/remit_transactions.ts +++ b/src/entity/remit_transactions.ts @@ -21,6 +21,13 @@ export class RemitTransaction { }) code: string; + @Column({ + nullable: false, + unique: true, + length: 256, + }) + reference: string; + @ManyToOne(() => RemitPartner, { onDelete: "RESTRICT" }) @JoinTable() partner: RemitPartner;