add payment link func.

This commit is contained in:
olivermrbl
2021-02-18 13:22:55 +01:00
parent 283f8fbe54
commit c4164e4b66
12 changed files with 171 additions and 4 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export class DraftOrder {
@Column({ nullable: true })
cart_id: string
@OneToOne(() => Cart)
@OneToOne(() => Cart, { onDelete: "CASCADE" })
@JoinColumn({ name: "cart_id" })
cart: Cart