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.
This commit is contained in:
parent
510f886220
commit
721edddbe0
@ -155,17 +155,17 @@ const suitableCheckMemo = (value: string): string => {
|
||||
|
||||
# 주의
|
||||
|
||||
## Prisma ORM 사용 시 주의사항
|
||||
## <span style="color: red">Prisma ORM 사용 시 주의사항</span>
|
||||
|
||||
현재 프로젝트는 Prisma ORM을 통해 데이터베이스의 일부 테이블만 관리하고 있습니다. 이로 인해 `prisma db pull` 또는 `prisma db push` 명령어 사용 시 주의가 필요합니다.
|
||||
|
||||
### 잠재적 위험성
|
||||
### <span style="color: red">잠재적 위험성</span>
|
||||
|
||||
- `schema.prisma` 파일에 정의된 모델이 의도치 않게 수정될 수 있습니다.
|
||||
- 기존에 정의된 모델의 속성이나 관계가 손상될 수 있습니다.
|
||||
- 데이터베이스 스키마와 Prisma 스키마 간의 불일치가 발생할 수 있습니다.
|
||||
|
||||
### 권장 사항
|
||||
### <span style="color: red">권장 사항</span>
|
||||
|
||||
- 데이터베이스 스키마 변경이 필요한 경우, 반드시 팀 내 논의 후 진행하시기 바랍니다.
|
||||
- `prisma db pull` 실행 전 현재 `schema.prisma` 파일의 백업을 권장합니다.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user