-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UNI-333] 특정 버전 미만으로 롤백 방지 & 6km 이상 길 추가 방지 로직 작성 (#190)
* [UNI-333] feat : 길 추가 로직에서 2000개 (약 6km) 이상의 노드를 추가하지 못하도록 Limit 제한 * [UNI-333] feat : 특정 버전 미만으로 롤백하지 못하도록 코드 작성 * [UNI-333] limitVersion을 DB에 저장하도록 수정 * [UNI-333] 컬럼명 명시 * [UNI-333] 테스트 컨테이너에 임시 학교 할당 * [UNI-333] 테스트 코드 변경 * [UNI-333] refactor : limit version을 primitive type으로 변경
- Loading branch information
1 parent
c25a612
commit 08f8dd0
Showing
7 changed files
with
43 additions
and
5 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
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,14 @@ | ||
INSERT INTO univ | ||
(id, name, trimmed_name, image_url, center_point, left_top_point, right_bottom_point, area_polygon, limit_version) | ||
VALUES | ||
( | ||
1001, | ||
'HYUNIV', | ||
'HYUNIV', | ||
'http://example.com/hanyang.jpg', | ||
ST_GeomFromText('POINT(126.9780 37.5665)', 4326), | ||
ST_GeomFromText('POINT(126.9720 37.5700)', 4326), | ||
ST_GeomFromText('POINT(126.9850 37.5620)', 4326), | ||
ST_GeomFromText('POLYGON((126.9720 37.5700, 126.9850 37.5700, 126.9850 37.5620, 126.9720 37.5620, 126.9720 37.5700))', 4326), | ||
0 | ||
); |