Refactor: is_changed 추가 - #65
Merged
Merged
Conversation
ImTotem
requested review from
Choi-JJunho,
Choon0414,
dradnats1012 and
songsunkook
March 28, 2024 04:38
Choi-JJunho
requested changes
Mar 28, 2024
Choi-JJunho
left a comment
Member
There was a problem hiding this comment.
이게 왜 추가되었나요?
+) target 브랜치 develop으로 바꿔주세용
| INSERT INTO koin.dining_menus(date, type, place, price_card, price_cash, kcal, menu) | ||
| VALUES ('%s', '%s', '%s', %s, %s, %s, '%s') | ||
| ON DUPLICATE KEY UPDATE price_card = %s, price_cash = %s, kcal = %s, menu = '%s' | ||
| INSERT INTO koin.dining_menus(date, type, place, price_card, price_cash, kcal, menu, is_changed) |
Member
Contributor
Author
There was a problem hiding this comment.
Member
There was a problem hiding this comment.
메뉴가 변경되었음을 판단해야할 상황이 있나용?
+) 코마 Dining PR이 Merge되고 컬럼 생성된거 확인하고 어프로브할게요
Contributor
Author
There was a problem hiding this comment.
메뉴가 변경되면 메뉴 사진위에 '품절됨'을 표시해주는 것처럼 '변경됨'을 표시해주기 위해 필요하다고 했습니다
Member
There was a problem hiding this comment.
오 그런 히스토리가 있었군요
좋습니다~👍
코마에 flyway 파일 머지되는거 확인하고 본 PR 다시 확인하겠습니다
Choi-JJunho
approved these changes
Apr 1, 2024
Choi-JJunho
left a comment
Member
There was a problem hiding this comment.
- BCSDLab/KOIN_API_V2#250
해당 PR 머지해서 이친구도 같이 merge하겠습니다~
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


sql에
is_changed를 추가했습니다.10초마다 크롤링 할때 메뉴가 변경되면
is_changed가True로 업데이트됩니다.