Skip to content

[Refactor] 산 이미지 URL 리스트 형식으로 변경#43

Merged
howooyeon merged 1 commit into
developfrom
feat/#42-mountain-image-urls
May 17, 2026
Merged

[Refactor] 산 이미지 URL 리스트 형식으로 변경#43
howooyeon merged 1 commit into
developfrom
feat/#42-mountain-image-urls

Conversation

@howooyeon

Copy link
Copy Markdown
Contributor

🧾 요약

  • 산 목록/상세/좋아요 조회 시 이미지를 단일 URL이 아닌 리스트(List<String>) 형식으로 변경
  • 썸네일은 imageUrls[0] 사용

🔗 이슈

✨ 변경 내용

  • Mountain 엔티티의 imageUrl (varchar) → imageUrls (jsonb, List<String>) 변경
  • MountainListResponse 응답 필드 imageUrlimageUrls 변경
  • MountainDetailResponse.MountainInfo 응답 필드 imageUrlimageUrls 변경
  • LikedMountainResponse 응답 필드 imageUrlimageUrls 변경

⚠️ 참고

  • DB 컬럼 타입 변경(image_url varchar → image_urls jsonb)에 따른 기존 데이터 마이그레이션 필요
  • ddl-auto: update로 컬럼은 자동 생성되지만, 기존 데이터 변환은 수동 SQL 필요

✅ 확인

  • 빌드 OK
  • 테스트 OK

@howooyeon
howooyeon requested review from JangInho and pooreumjung May 14, 2026 16:54
@howooyeon howooyeon self-assigned this May 14, 2026
@howooyeon howooyeon changed the title [Feat] 산 이미지 URL 리스트 형식으로 변경 [Refactor] 산 이미지 URL 리스트 형식으로 변경 May 14, 2026

@pooreumjung pooreumjung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

고생하셨습니당~

@howooyeon
howooyeon merged commit 84f4b91 into develop May 17, 2026
2 checks passed
@howooyeon
howooyeon deleted the feat/#42-mountain-image-urls branch May 21, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[refactor] 산 목록 이미지 URL 리스트 형식으로 변경

2 participants