Skip to content

Commit

Permalink
⚡ [feat] #12 GoogleCalender 제약조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoo0419 committed Jul 5, 2024
1 parent 1801494 commit a4436ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/nutshell/server/domain/GoogleCalender.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public class GoogleCalender {
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;

@Column(name = "token", nullable = false)
@Column(name = "token", nullable = false, unique = true)
private String token;

@Column(name = "email", nullable = false)
@Column(name = "email", nullable = false, unique = true)
private String email;

@Column(name = "created_at", nullable = false)
Expand Down

0 comments on commit a4436ba

Please sign in to comment.