-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat : 동시성 처리 * fix : 알람 읽지 않은 목록만 보여주기로 수정
- Loading branch information
Showing
4 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- 컬럼 길이 줄이기 | ||
ALTER TABLE place_to_vote MODIFY place_name NVARCHAR2(1000); | ||
ALTER TABLE place_to_vote MODIFY lat NVARCHAR2(1000); | ||
ALTER TABLE place_to_vote MODIFY lng NVARCHAR2(1000); | ||
|
||
-- 복합 유니크 인덱스 생성 | ||
CREATE UNIQUE INDEX uq_place_to_vote | ||
ON place_to_vote (schedule_id, lat, lng); | ||
|
||
-- place_to_vote 테이블에 새로운 유니크 제약 조건을 추가 | ||
ALTER TABLE place_to_vote | ||
ADD CONSTRAINT uq_place_to_vote UNIQUE (schedule_id, lat, lng); |