Skip to content

Commit

Permalink
fix: Table 어노테이션으로 복합 유니크 제약조건 추가 (#262) (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 authored Nov 20, 2024
1 parent 2a58020 commit 7d8a589
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@Getter
@Entity
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(uniqueConstraints = { @UniqueConstraint(columnNames = { "socialType", "socialId" }) })
public class Member extends BaseTimeEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down

0 comments on commit 7d8a589

Please sign in to comment.