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, })