update
This commit is contained in:
@ -33,7 +33,7 @@ export class BrivaAccount {
|
||||
})
|
||||
account_holder: string;
|
||||
|
||||
@ManyToOne(() => BrivaCompany, { nullable: true })
|
||||
@ManyToOne(() => BrivaCompany, { onDelete: 'NO ACTION', nullable: true })
|
||||
@JoinTable()
|
||||
company: BrivaCompany
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ export class BrivaTransaction {
|
||||
})
|
||||
teller_code: string;
|
||||
|
||||
@ManyToOne(() => BrivaAccount)
|
||||
@ManyToOne(() => BrivaAccount, { onDelete: 'NO ACTION' })
|
||||
@JoinTable()
|
||||
account: BrivaAccount
|
||||
|
||||
|
||||
Reference in New Issue
Block a user