We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30902eb commit de29d6fCopy full SHA for de29d6f
src/main/kotlin/gogo/gogostage/domain/coupon/result/persistence/CouponResult.kt
@@ -13,7 +13,7 @@ class CouponResult (
13
@Column(name = "id", nullable = false)
14
val id: Long = 0,
15
16
- @Column(name = "coupon_id", nullable = false)
+ @JoinColumn(name = "coupon_id", nullable = false)
17
@OneToOne(cascade = [(CascadeType.ALL)], fetch = FetchType.LAZY)
18
val coupon: Coupon,
19
src/main/kotlin/gogo/gogostage/domain/coupon/root/persistence/Coupon.kt
@@ -11,7 +11,7 @@ class Coupon (
11
12
val id: String,
- @Column(name = "stage_id", nullable = false)
+ @JoinColumn(name = "stage_id", nullable = false)
@ManyToOne(fetch = FetchType.LAZY)
val stage: Stage,
0 commit comments