From 4cef2b9fd29338d074e75e96398655cb7a0af12c Mon Sep 17 00:00:00 2001 From: mota Date: Mon, 13 Oct 2025 05:54:07 +0900 Subject: [PATCH] =?UTF-8?q?docs(todo):=20=EC=8A=A4=ED=82=A4=EB=A7=88=20?= =?UTF-8?q?=EC=A7=84=ED=96=89=EC=83=81=ED=99=A9=20=EC=B2=B4=ED=81=AC=20?= =?UTF-8?q?=EB=B0=98=EC=98=81=20(1.1~1.4,=201.6=20=EC=99=84=EB=A3=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cursor/.prompt/게시판 대분류작업.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.cursor/.prompt/게시판 대분류작업.md b/.cursor/.prompt/게시판 대분류작업.md index 8c27aac..cbfc706 100644 --- a/.cursor/.prompt/게시판 대분류작업.md +++ b/.cursor/.prompt/게시판 대분류작업.md @@ -4,12 +4,12 @@ ### 작업 목록 스키마/마이그레이션 -- [ ] 1.1 Prisma에 `BoardCategory` 모델 추가(id, name, slug, sortOrder, status) -- [ ] 1.2 `Board` 모델에 `categoryId` 필드와 relation 추가 -- [ ] 1.3 관련 인덱스/`@@map` 정의 업데이트 -- [ ] 1.4 마이그레이션 생성 및 적용(`npx prisma migrate dev`) +- [x] 1.1 Prisma에 `BoardCategory` 모델 추가(id, name, slug, sortOrder, status) +- [x] 1.2 `Board` 모델에 `categoryId` 필드와 relation 추가 +- [x] 1.3 관련 인덱스/`@@map` 정의 업데이트 +- [x] 1.4 마이그레이션 생성 및 적용(`npx prisma migrate dev`) - [ ] 1.5 `prisma/seed.js`에 기본 카테고리와 매핑 데이터 추가 -- [ ] 1.6 ERD 재생성(`npx prisma generate`) +- [x] 1.6 ERD 재생성(`npx prisma generate`) API - [ ] 2.1 Admin: 카테고리 CRUD 엔드포인트 추가(`src/app/api/admin/categories/route.ts`)