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