Skip to content
Failed

Changes

Summary

  1. refactor: rename VotePost to Votesboard across entire backend (commit: 428dff5) (details)
  2. refactor: rename folder voteboard to votesboard (commit: bd4b21a) (details)
  3. refactor: rename all Voteboard* files to Votesboard* (commit: 2d10a41) (details)
  4. refactor: rename comment tables voteboard → votesboard in database (commit: 3db57a5) (details)
Commit 428dff5be21738c8d5f5b9dc4c467c0b4572c23a by bb7788
refactor: rename VotePost to Votesboard across entire backend

VotePost 관련 모든 클래스, 파일, 데이터베이스 테이블을 Votesboard로 일괄 리네이밍하여 명명 규칙 통일

## 주요 변경사항

### 1. 엔티티 클래스 리네이밍
- VotePost → Votesboard
- VotePostImage → VotesboardImage
- VotePostLike → VotesboardLike
- VoteOption, VoteResult는 Votesboard 참조로 수정

### 2. 레포지토리 리네이밍
- VotePostRepository → VotesboardRepository
- VotePostRepositoryCustom → VotesboardRepositoryCustom
- VotePostRepositoryImpl → VotesboardRepositoryImpl
- VotePostLikeRepository → VotesboardLikeRepository
- 모든 repository 메서드명 업데이트 (findByVotePost → findByVotesboard)

### 3. 서비스 리네이밍
- VotePostService → VotesboardService
- VotePostServiceImpl → VotesboardServiceImpl
- VotePostLikeService → VotesboardLikeService
- VotePostLikeServiceImpl → VotesboardLikeServiceImpl

### 4. 컨트롤러 업데이트
- VotePostLikeController → VotesboardLikeController
- VoteboardController의 모든 operationId 수정:
  - createVotesboard, getVotesboard, getVotesboardsByCursor
  - updateVotesboard, deleteVotesboard
  - toggleVotesboardLike, getVotesboardLikeStatus

### 5. DTO 및 매퍼 업데이트
- VoteboardMapper: 모든 타입 참조를 Votesboard로 변경
- VoteboardCommentCursorResponse: votePostId → votesboardId

### 6. 데이터베이스 테이블 리네이밍 (Production 적용 완료)
- vote_post → votesboard
- vote_post_image → votesboard_image
- vote_post_like → votesboard_like
- 모든 FK 컬럼: vote_post_id → votesboard_id
- 모든 외래키 제약조건 재생성

### 7. 테스트 코드 검증
- 통합 테스트: VotesboardRepository 및 새 엔티티 사용 확인 완료

## 검증 결과
- ✅ grep 검색 결과: VotePost 참조 0건
- ✅ Gradle 빌드: BUILD SUCCESSFUL
- ✅ 데이터베이스 마이그레이션: exit code 0
- ✅ 외래키 무결성: 모든 FK가 votesboard 테이블 참조

## Orval 코드 생성 영향
이 변경으로 프론트엔드 Orval 생성 코드가 다음과 같이 개선됨:
- getGetVotePost → getVotesboard
- postVotePost → createVotesboard
- 더 명확하고 간결한 함수명 제공

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
(commit: 428dff5)
The file was addedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotesboardLike.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardMapper.java (diff)
The file was addedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardRepositoryCustom.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/comment/domain/dto/VoteboardCommentCursorResponse.java (diff)
The file was addedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardLikeService.java
The file was modifiedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardLikeInfoIntegrationTest.java (diff)
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VoteOption.java (diff)
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/comment/domain/entity/VoteboardComment.java (diff)
The file was addedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardService.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/repository/VoteOptionRepository.java (diff)
The file was addedmigrate_voteboard_tables.sql
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/comment/domain/repository/VoteboardCommentRepository.java (diff)
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotePostService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotePostRepository.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotePostRepositoryImpl.java
The file was modifiedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardIntegrationTest.java (diff)
The file was addedsrc/main/java/com/example/soso/community/voteboard/controller/VotesboardLikeController.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotePostImage.java
The file was addedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/voteboard/domain/entity/Votesboard.java
The file was addedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotesboardImage.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotePostLike.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/comment/service/VoteboardCommentService.java (diff)
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VoteResult.java (diff)
The file was addedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardLikeServiceImpl.java
The file was modifiedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardCommentIntegrationTest.java (diff)
The file was removedsrc/main/java/com/example/soso/community/voteboard/controller/VotePostLikeController.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/repository/VoteResultRepository.java (diff)
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotePostRepositoryCustom.java
The file was addedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardRepositoryImpl.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotePostLikeServiceImpl.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/comment/service/VoteboardCommentServiceImpl.java (diff)
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotePostLikeService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotePostLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardRepository.java
The file was modifiedsrc/main/java/com/example/soso/community/voteboard/controller/VoteboardController.java (diff)
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotePost.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotePostServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardServiceImpl.java
Commit bd4b21a448e9f60c7ca9126e5953713b3c254d2d by bb7788
refactor: rename folder voteboard to votesboard

폴더명과 패키지명을 voteboard에서 votesboard로 일괄 변경하여 엔티티명과 통일

## 주요 변경사항

### 1. 폴더 구조 변경
- src/main/java/com/example/soso/community/voteboard → votesboard
- src/test/java/com/example/soso/community/voteboard → votesboard

### 2. 패키지 선언 변경
- 모든 Java 파일의 package 선언 업데이트
- com.example.soso.community.voteboard → com.example.soso.community.votesboard

### 3. Import 문 변경
- 모든 Java 파일의 import 문 업데이트
- 49개 파일의 import 경로 수정

### 4. 영향받은 파일
- 컨트롤러: VoteboardController, VotesboardLikeController, 댓글 컨트롤러 등
- 서비스: VotesboardService, VotesboardServiceImpl 등
- 레포지토리: VotesboardRepository, VotesboardRepositoryImpl 등
- 엔티티: Votesboard, VotesboardImage, VotesboardLike 등
- DTO: 모든 DTO 및 매퍼 클래스
- 테스트: 모든 통합 테스트 파일

## 검증 결과
- ✅ voteboard 폴더: 삭제 완료
- ✅ votesboard 폴더: 정상 생성
- ✅ voteboard import 참조: 0건
- ✅ Gradle 빌드: BUILD SUCCESSFUL

## 이전 커밋과의 연관성
이전 커밋에서 엔티티명을 VotePost → Votesboard로 변경했고,
이번 커밋에서는 폴더명/패키지명까지 통일하여 완전한 일관성 확보

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
(commit: bd4b21a)
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VoteOption.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardSummary.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardMapper.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/dto/VoteboardSortType.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/repository/VoteOptionRepository.java
The file was removedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardCommentIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardCursorResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotesboardLike.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardRepository.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VoteboardComment.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardCursorResponse.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VoteOptionRepository.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/controller/VoteboardCommentLikeController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VoteboardCommentLike.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteInfo.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/repository/VotesboardRepositoryImpl.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardLikeServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentUpdateRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteOptionRequest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/controller/VoteboardCommentController.java
The file was removedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardIntegrationTest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/repository/VoteboardCommentRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/entity/VotesboardImage.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/controller/VotesboardLikeController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardCreateRequest.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardVotingIntegrationTest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/repository/VoteboardCommentLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/entity/VotesboardLike.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/controller/VoteboardCommentLikeController.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardCreateResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VoteResult.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/repository/VoteResultRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardLikeService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/entity/VoteboardComment.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/dto/VoteboardCommentSortType.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentLikeServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteOptionResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/service/VoteboardCommentServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/controller/VoteboardController.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VotesboardImage.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteOptionResponse.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/entity/VoteResult.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/entity/VoteStatus.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/dto/VoteboardCommentCursorResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/repository/VoteboardCommentRepository.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardLikeInfoIntegrationTest.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardCommentIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/service/VoteboardCommentService.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardRepositoryImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardLikeService.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/controller/VoteboardCommentController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardUpdateRequest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VoteResultRepository.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardCreateRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/entity/Votesboard.java
The file was removedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardVotingIntegrationTest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentCreateRequest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/service/VoteboardCommentLikeService.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentServiceImpl.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/controller/VoteboardController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/repository/VotesboardRepositoryCustom.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteInfo.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteOptionRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentLikeService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardDetailResponse.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardDetailResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/VoteStatus.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardUpdateRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/entity/VoteOption.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardLikeServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/dto/VoteboardSortType.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/service/VotesboardService.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/dto/VoteboardCommentCreateResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardSummary.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentSortType.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/dto/VoteboardMapper.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/domain/entity/Votesboard.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardServiceImpl.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/repository/VoteboardCommentLikeRepository.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/dto/VoteboardCommentCreateRequest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/service/VoteboardCommentLikeServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentCursorResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/dto/VoteboardCommentUpdateRequest.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/comment/domain/entity/VoteboardCommentLike.java
The file was removedsrc/test/java/com/example/soso/community/voteboard/integration/VoteboardLikeInfoIntegrationTest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardCreateResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/controller/VotesboardLikeController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentCreateResponse.java
The file was removedsrc/main/java/com/example/soso/community/voteboard/repository/VotesboardRepositoryCustom.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/repository/VotesboardLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/repository/VotesboardRepository.java
Commit 2d10a414e253347df2a3da4500b50a556bc55092 by bb7788
refactor: rename all Voteboard* files to Votesboard*

모든 파일명과 클래스명을 Voteboard에서 Votesboard로 완전히 통일

## 주요 변경사항

### 1. 파일명 변경 (28개 파일)
**컨트롤러:**
- VoteboardController → VotesboardController
- VoteboardCommentController → VotesboardCommentController
- VoteboardCommentLikeController → VotesboardCommentLikeController

**엔티티:**
- VoteboardComment → VotesboardComment
- VoteboardCommentLike → VotesboardCommentLike

**DTO:**
- VoteboardCreateRequest → VotesboardCreateRequest
- VoteboardCreateResponse → VotesboardCreateResponse
- VoteboardCursorResponse → VotesboardCursorResponse
- VoteboardDetailResponse → VotesboardDetailResponse
- VoteboardMapper → VotesboardMapper
- VoteboardSummary → VotesboardSummary
- VoteboardUpdateRequest → VotesboardUpdateRequest
- VoteboardSortType → VotesboardSortType
- VoteboardComment* (7개 파일)

**레포지토리:**
- VoteboardCommentRepository → VotesboardCommentRepository
- VoteboardCommentLikeRepository → VotesboardCommentLikeRepository

**서비스:**
- VoteboardCommentService → VotesboardCommentService
- VoteboardCommentServiceImpl → VotesboardCommentServiceImpl
- VoteboardCommentLikeService → VotesboardCommentLikeService
- VoteboardCommentLikeServiceImpl → VotesboardCommentLikeServiceImpl

**테스트:**
- VoteboardIntegrationTest → VotesboardIntegrationTest
- VoteboardCommentIntegrationTest → VotesboardCommentIntegrationTest
- VoteboardLikeInfoIntegrationTest → VotesboardLikeInfoIntegrationTest
- VoteboardVotingIntegrationTest → VotesboardVotingIntegrationTest

### 2. 클래스명 변경
- 모든 Java 파일 내부의 클래스/인터페이스/enum 선언 업데이트
- public class VoteboardController → VotesboardController
- public enum VoteboardSortType → VotesboardSortType
- 모든 import 문 자동 업데이트

### 3. 참조 업데이트
- 모든 타입 참조: VoteboardComment → VotesboardComment
- 모든 변수 선언, 파라미터, 리턴 타입 자동 업데이트
- Swagger @Tag name: "Voteboard" → "Votesboard"

## 통일된 네이밍

이제 프로젝트 전체에서 완벽한 네이밍 통일 달성:

| 레이어 | 명명 규칙 |
|--------|----------|
| **엔티티** | Votesboard, VotesboardImage, VotesboardLike |
| **테이블** | votesboard, votesboard_image, votesboard_like |
| **파일명** | Votesboard*.java |
| **클래스명** | VotesboardController, VotesboardComment 등 |
| **폴더명** | .../votesboard/ |
| **패키지** | com.example.soso.community.votesboard |
| **API 경로** | /api/community/votesboard |

## 검증 결과
- ✅ Voteboard* 파일: 0개
- ✅ Votesboard* 파일: 40개
- ✅ Gradle 컴파일: BUILD SUCCESSFUL
- ✅ Gradle 빌드: BUILD SUCCESSFUL

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
(commit: 2d10a41)
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VotesboardCommentServiceImpl.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/controller/VoteboardCommentLikeController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardDetailResponse.java
The file was removedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardLikeInfoIntegrationTest.java
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardServiceImpl.java (diff)
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/repository/VoteboardCommentRepository.java
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardService.java (diff)
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VotesboardCommentCursorResponse.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentCreateResponse.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardMapper.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VotesboardCommentLikeServiceImpl.java
The file was removedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentUpdateRequest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentServiceImpl.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/controller/VotesboardController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardMapper.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentCreateRequest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VoteboardCommentLike.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardCursorResponse.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentService.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardUpdateRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardCreateRequest.java
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/repository/VotesboardRepositoryImpl.java (diff)
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/controller/VotesboardCommentLikeController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/repository/VotesboardCommentLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VotesboardCommentService.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentLikeService.java
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/repository/VotesboardRepositoryCustom.java (diff)
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentSortType.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/controller/VoteboardCommentController.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/service/VotesboardCommentLikeService.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardSummary.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VotesboardCommentLike.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VotesboardCommentUpdateRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/repository/VotesboardCommentRepository.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardCreateResponse.java
The file was removedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardCommentIntegrationTest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VotesboardComment.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VotesboardCreateResponse.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardSummary.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/controller/VoteboardController.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VotesboardVotingIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardUpdateRequest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/dto/VoteboardSortType.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/dto/VotesboardSortType.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VotesboardCommentIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VoteboardComment.java
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/controller/VotesboardLikeController.java (diff)
The file was modifiedsrc/main/java/com/example/soso/global/config/SwaggerConfig.java (diff)
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/service/VoteboardCommentLikeServiceImpl.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VotesboardIntegrationTest.java
The file was addedsrc/test/java/com/example/soso/community/votesboard/integration/VotesboardLikeInfoIntegrationTest.java
The file was removedsrc/test/java/com/example/soso/community/votesboard/integration/VoteboardVotingIntegrationTest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardCreateRequest.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardDetailResponse.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VoteboardCommentCursorResponse.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/comment/domain/repository/VoteboardCommentLikeRepository.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VotesboardCommentSortType.java
The file was removedsrc/main/java/com/example/soso/community/votesboard/domain/dto/VoteboardCursorResponse.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VotesboardCommentCreateRequest.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/domain/dto/VotesboardCommentCreateResponse.java
The file was addedsrc/main/java/com/example/soso/community/votesboard/comment/controller/VotesboardCommentController.java
Commit 3db57a520a1ccf2e6a9c0ae37ac1c37a9137533c by bb7788
refactor: rename comment tables voteboard → votesboard in database

댓글 관련 데이터베이스 테이블명을 voteboard에서 votesboard로 변경하여 완전히 통일

## 주요 변경사항

### 1. 데이터베이스 테이블명 변경
- voteboard_comments → votesboard_comments
- voteboard_comment_like → votesboard_comment_like

### 2. 엔티티 @Table 어노테이션 수정
**VotesboardComment.java:**
```java
@Table(name = "votesboard_comments")
```

**VotesboardCommentLike.java:**
```java
@Table(name = "votesboard_comment_like")
```

### 3. 외래키 제약조건 재생성
**votesboard_comments:**
- FK_votesboard_comments_user: user_id → users
- FK_votesboard_comments_parent: parent_id → votesboard_comments
- FK_votesboard_comments_votesboard: votesboard_id → votesboard

**votesboard_comment_like:**
- FK_votesboard_comment_like_user: user_id → users
- FK_votesboard_comment_like_comment: comment_id → votesboard_comments

### 4. 마이그레이션 결과
프로덕션 데이터베이스 적용 완료 (Exit code: 0)

## 검증 결과

**모든 vote 관련 테이블:**
```
✅ vote_option
✅ vote_result
✅ votesboard
✅ votesboard_comment_like
✅ votesboard_comments
✅ votesboard_image
✅ votesboard_like
```

**외래키 무결성:**
- 7개 테이블의 모든 외래키 정상 작동 확인
- votesboard를 참조하는 5개 테이블 모두 정상
- votesboard_comments를 참조하는 2개 테이블 정상

## 통일 완료

이제 데이터베이스 레벨에서도 완벽한 네이밍 통일:
- 엔티티: Votesboard, VotesboardComment, VotesboardCommentLike
- 테이블: votesboard, votesboard_comments, votesboard_comment_like
- 외래키: FK_votesboard_*, FK_votesboard_comments_*

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
(commit: 3db57a5)
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/service/VotesboardServiceImpl.java (diff)
The file was addedmigrate_voteboard_comments_tables.sql
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VotesboardCommentLike.java (diff)
The file was modifiedsrc/main/java/com/example/soso/community/votesboard/comment/domain/entity/VotesboardComment.java (diff)