This commit is contained in:
fro1991
2025-02-12 15:04:05 +07:00
parent 14e09c0917
commit b112e7af32
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ export class BrivaAccount {
}) })
account_holder: string; account_holder: string;
@ManyToOne(() => BrivaCompany, { nullable: true }) @ManyToOne(() => BrivaCompany, { onDelete: 'NO ACTION', nullable: true })
@JoinTable() @JoinTable()
company: BrivaCompany company: BrivaCompany

View File

@ -31,7 +31,7 @@ export class BrivaTransaction {
}) })
teller_code: string; teller_code: string;
@ManyToOne(() => BrivaAccount) @ManyToOne(() => BrivaAccount, { onDelete: 'NO ACTION' })
@JoinTable() @JoinTable()
account: BrivaAccount account: BrivaAccount