diff --git a/src/main/java/com/totopia/server/modules/game/entity/SportsEventResultEntity.java b/src/main/java/com/totopia/server/modules/game/entity/SportsEventResultEntity.java index cd40370..b9c8830 100644 --- a/src/main/java/com/totopia/server/modules/game/entity/SportsEventResultEntity.java +++ b/src/main/java/com/totopia/server/modules/game/entity/SportsEventResultEntity.java @@ -24,8 +24,8 @@ public class SportsEventResultEntity extends DateAuditEntity { @SequenceGenerator(name = "sports_event_result_generator", sequenceName = "sports_event_result_sequence", initialValue = 1) private Long id; -// @Column(name = "event_id", unique = true) -// private Long eventId; + @Column(name = "sports_event_id", unique = true) + private Long sportsEvent; @Column(name = "status") private Short status;