update
This commit is contained in:
@ -21,7 +21,7 @@ export class BrivaTransaction {
|
|||||||
})
|
})
|
||||||
reference_number: string;
|
reference_number: string;
|
||||||
|
|
||||||
@ManyToOne(() => Branch, { onDelete: "RESTRICT" })
|
@ManyToOne(() => Branch)
|
||||||
@JoinColumn()
|
@JoinColumn()
|
||||||
branch: Branch
|
branch: Branch
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ export class BrivaTransaction {
|
|||||||
})
|
})
|
||||||
teller_code: string;
|
teller_code: string;
|
||||||
|
|
||||||
@ManyToOne(() => BrivaAccount, { onDelete: 'CASCADE' })
|
@ManyToOne(() => BrivaAccount)
|
||||||
@JoinTable()
|
@JoinTable()
|
||||||
account: BrivaAccount
|
account: BrivaAccount
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user