Skip to content

Conversation

@ChungPlusPlus
Copy link
Contributor

교수 소속(department) 추가

한줄 요약

String type 필드 하나 추가했습니다

null 가능하게 만들었고, 아래처럼 요청할 수 있습니다

{
  "ko": {
  name: "성함",
  status: "ACTIVE",
  academicRank: "...",
  department: "소속 이름(한글)",
  ...
  },
  "en":{
  name: "name",
  status: "ACTIVE",
  academicRank: "..."
  department: "소속 이름(영어)",
  ...
  }
}

@ChungPlusPlus ChungPlusPlus requested a review from a team December 24, 2025 12:43
@ChungPlusPlus ChungPlusPlus self-assigned this Dec 24, 2025
): ProfessorLanguagesDto {
val koreanProfessorDto = createProfessor(LanguageType.KO, req.ko, mainImage)
val englishProfessorDto = createProfessor(LanguageType.EN, req.ko, mainImage)
val englishProfessorDto = createProfessor(LanguageType.EN, req.en, mainImage)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

혹시 원래 코드에 의도가 있었을까요?
잘 모르겠어 제가 맞다 생각하는 대로 바꿔보았습니다.

Copy link
Member

Choose a reason for hiding this comment

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

오 이건 몰랐네 ㅋㅋ 굿입니당

@github-actions
Copy link

github-actions bot commented Dec 24, 2025

Test Results

17 files  17 suites   1s ⏱️
66 tests 66 ✔️ 0 💤 0
70 runs  70 ✔️ 0 💤 0

Results for commit 30fffdf.

♻️ This comment has been updated with latest results.

@@ -0,0 +1,2 @@
ALTER TABLE professor
Copy link
Member

Choose a reason for hiding this comment

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

이거 돌리면 모두 null로 들어있을텐데 추후 마이그레이션 등으로 채울 예정이겠죠?

  • nullable한 필드가 아니라면 empty string을 default 값으로 하는 non null 필드로 바꾸는 것도 좋을듯

Copy link
Contributor Author

Choose a reason for hiding this comment

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

이미 여러 소속 교수님들이 등록되어 계셔서 저희가 특정 값으로 채워 넣는 것은 힘들 것 같다 생각했어요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

empty string 쓰는 걸로 바꾸는 게 좋을 것 같습니다! 곧 수정하겠습니다

@ChungPlusPlus ChungPlusPlus merged commit 3ba776d into develop Dec 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants