Schema organization
The Prisma schema is a single file atbackend/prisma/schema.prisma. It is organized into logical sections with comment dividers:
Schema conventions
Enum definitions
Client
@prisma/client.
Database provider
Schema as source of truth
schema.prisma is the single source of truth for the database structure. Migration workflow is covered in Transactions and migrations.