From 721edddbe0ffd3cb25738e981c979d98b19b8e08 Mon Sep 17 00:00:00 2001 From: yoosangwook Date: Fri, 30 May 2025 11:17:46 +0900 Subject: [PATCH] docs: enhance README with highlighted warnings and recommendations for Prisma ORM usage - Updated section on Prisma ORM to emphasize caution with red text for potential risks and recommendations. - Ensured clarity on the importance of backing up the schema before executing database commands. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e6a83f7..f5c677e 100644 --- a/README.md +++ b/README.md @@ -155,17 +155,17 @@ const suitableCheckMemo = (value: string): string => { # 주의 -## Prisma ORM 사용 시 주의사항 +## Prisma ORM 사용 시 주의사항 현재 프로젝트는 Prisma ORM을 통해 데이터베이스의 일부 테이블만 관리하고 있습니다. 이로 인해 `prisma db pull` 또는 `prisma db push` 명령어 사용 시 주의가 필요합니다. -### 잠재적 위험성 +### 잠재적 위험성 - `schema.prisma` 파일에 정의된 모델이 의도치 않게 수정될 수 있습니다. - 기존에 정의된 모델의 속성이나 관계가 손상될 수 있습니다. - 데이터베이스 스키마와 Prisma 스키마 간의 불일치가 발생할 수 있습니다. -### 권장 사항 +### 권장 사항 - 데이터베이스 스키마 변경이 필요한 경우, 반드시 팀 내 논의 후 진행하시기 바랍니다. - `prisma db pull` 실행 전 현재 `schema.prisma` 파일의 백업을 권장합니다.