Skip to content

Conversation

@Gyuhyeok99
Copy link
Contributor

관련 이슈

작업 내용

GpaScore 과 LanguageTestScore 의 사용하지 않을 컬럼인 "issueDate"를 없앴습니다.

특이 사항

Flyway 이용하려고 Hibernate SQL 사용할 때 ddl-auto update로 사용하시나요? 저는 그렇게하면 서버가 안켜지고 create로 하니까 그냥 alter로 issueDate를 드랍하는 게 아니라 그냥 새 테이블 생성 쿼리문 주더라구요..
이번엔 컬럼 드랍하는 간단한 쿼리문이여서 그냥 제가 작성했습니다 @wibaek

@Gyuhyeok99 Gyuhyeok99 self-assigned this Feb 7, 2025
@Gyuhyeok99 Gyuhyeok99 linked an issue Feb 7, 2025 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@nayonsoso nayonsoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오.. 저는 규혁님 PR 받아서 로컬에서 실행했는데 ddl-auto:update 여도 실행됐습니다.
혹시 profile 을 dev 로 설정하고, sql.init.mode: never 도 설정하셨나요?
아니라면 어떤 메세지 때문에 실행 안되는지 공유해주세요!


그리고 GpaScoerRequest, GpaScoreStatus, LanguageTestScoreRequest, LanguageTestScoreStatus 에
안쓰는 LocalDate 임포트 없애주세요!

@Gyuhyeok99
Copy link
Contributor Author

Gyuhyeok99 commented Feb 7, 2025

아 정확히는 never로 설정하면 issueDate 드랍하는 쿼리문이 안뜨고 설정안하면 data.sql때문에 에러터지는 거였는데 never로 설정하면 issueDate 드랍하는 쿼리문이 왜 안나오는지 모르겠더라구요

그리고 GpaScoerRequest, GpaScoreStatus, LanguageTestScoreRequest, LanguageTestScoreStatus 에
안쓰는 LocalDate 임포트 없애주세요!

반영했습니다!

@Gyuhyeok99 Gyuhyeok99 merged commit 25e9f40 into main Feb 8, 2025
@Gyuhyeok99 Gyuhyeok99 deleted the refactor/180-remove-unused-issueDate branch February 11, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: 사용하지 않을 컬럼 제거

3 participants