기존 평면 이미지 자산 샤딩 마이그레이션 추가

This commit is contained in:
2026-04-03 14:01:27 +09:00
parent dddb57333c
commit 30ec2e55b0
7 changed files with 122 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
- 커스텀 아이템: `backend/uploads/custom/`
- 시드 이미지: `backend/uploads/seeds/`
- 최적화 이미지 자산: 신규 업로드는 `backend/uploads/assets/<앞2글자>/<파일명>.webp` 형태로 1단계 샤딩 저장하고, 기존 `backend/uploads/assets/<파일명>.webp` 평면 경로도 계속 읽는다.
- 기존 평면 자산을 샤딩 구조로 정리할 때는 `npm --prefix backend run images:shard-assets`를 실행하며, 스크립트가 파일 이동과 DB/JSON 참조 치환을 함께 처리한다.
## 화면 구조
- 좌측 패널