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;