Skip to content

Commit 7fafcc4

Browse files
committed
refactor: liked_university 테이블에 복합 unique 제약 조건을 설정하는 sql 작성
1 parent ffb5928 commit 7fafcc4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ALTER TABLE liked_university
2+
ADD CONSTRAINT uk_liked_university_site_user_university
3+
UNIQUE (site_user_id, university_info_for_apply_id);

0 commit comments

Comments
 (0)