From 8e8680f23f68c78f174f4d2d2510294698346536 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Wed, 12 Feb 2025 14:54:05 +0700 Subject: [PATCH] udpate --- src/entity/briva_accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/briva_accounts.ts b/src/entity/briva_accounts.ts index 962f74d..91281c6 100644 --- a/src/entity/briva_accounts.ts +++ b/src/entity/briva_accounts.ts @@ -33,7 +33,7 @@ export class BrivaAccount { }) account_holder: string; - @ManyToOne(() => BrivaCompany, { onDelete: 'CASCADE', nullable: true }) + @ManyToOne(() => BrivaCompany, { nullable: true }) @JoinTable() company: BrivaCompany