-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: lecutre 테이블 컬럼 수정 #1065
base: develop
Are you sure you want to change the base?
fix: lecutre 테이블 컬럼 수정 #1065
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
정말 빠르게 작업해주셨네요!! 수고많으셨습니다.
FK관련 부분 코멘트 남겼습니다.
src/main/resources/db/migration/V104__alter_lecture_class_semester_fk.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨어요~ 이 PR을 체크 못했네요..
코멘트 확인해주세요!
ALTER TABLE `koin`.`lectures` | ||
DROP COLUMN `semester_date`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C
컬럼 삭제..하는 과정에서 flyway 오류가 안 날지 모르겠네용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
흠,, 일단은 컬럼을 삭제하지 않는 방향이 적절할까요..?
지금 그렇게 큰 문제가 되지는 않는 것 같아서, 있어도 그만, 없어도 그만이라고 생각은 듭니다.
UPDATE `koin`.`lectures` l | ||
SET `semester_id` = (SELECT `id` | ||
FROM `koin`.`semester` s | ||
WHERE l.`semester_date` = s.`semester`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C
DML이랑 DDL이 같이 있네요👀(분리..!!)
추가적으로 최근에 진호님이 PR 올리신 내용이 있어서 한 번 확인해보시는 것도 좋을 거 같아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
헉,, 감사합니다 !
🔥 연관 이슈
🚀 작업 내용
💬 리뷰 중점사항