From a5a751dd645b5ac0cd4f17944f1f78b2238b78b3 Mon Sep 17 00:00:00 2001 From: fro1991 Date: Sun, 27 Jul 2025 19:29:54 +0700 Subject: [PATCH] remit update --- src/entity/remit_config_beneficiary_provinces.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/remit_config_beneficiary_provinces.ts b/src/entity/remit_config_beneficiary_provinces.ts index bc6fab5..439e3f5 100644 --- a/src/entity/remit_config_beneficiary_provinces.ts +++ b/src/entity/remit_config_beneficiary_provinces.ts @@ -9,7 +9,7 @@ export class RemitConfigBeneficiaryProvince { @PrimaryGeneratedColumn("uuid") id: string; - @ManyToOne(() => RemitIndoProvince, { onDelete: "NO ACTION", nullable: true }) + @ManyToOne(() => RemitIndoProvince, { onDelete: "RESTRICT" }) @JoinColumn() indo_province: RemitIndoProvince;