From da2feaa184e85c717022319e9f8346669076122c Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Tue, 31 Dec 2024 15:09:34 +0700 Subject: [PATCH] update log pull --- src/entity/log_pull.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/entity/log_pull.ts b/src/entity/log_pull.ts index b789340..99c20e0 100644 --- a/src/entity/log_pull.ts +++ b/src/entity/log_pull.ts @@ -21,14 +21,11 @@ export class LogPull { filename: string; @Column({ - nullable: true + nullable: true, + length: 32 }) branch_code: string; - @ManyToOne(() => Branch, { onDelete: "RESTRICT" }) - @JoinColumn({ name: 'branch_code' }) - branch: Branch - @Column({ nullable: true, })