Prisma 스키마 생성기
시각적으로 Prisma 스키마 파일을 생성합니다. 모델을 추가하고, 필드를 정의하고, 데이터소스를 구성합니다.
Tips:
- • Use autoincrement() or cuid() for ID defaults
- • DateTime fields often use now() as default
- • Add relations by selecting another model as the field type
Prisma ORM Schema - 기술 세부 정보
Prisma is a next-generation Node.js and TypeScript ORM. The schema file defines your data models, relations, and database connection. Prisma generates type-safe database clients from this schema.
명령줄 대안
model User {\n id Int @id @default(autoincrement())\n email String @unique\n posts Post[]\n}