Packages
Database
Defines the Prisma schema, database utilities, and migration files.
The database package is the single source of truth for our database schema and interactions. It uses Prisma as its ORM (Object-Relational Mapper) to provide a type-safe way of interacting with our PostgreSQL database.
This package contains:
- The
schema.prismafile, which defines all of our data models and their relations. - Prisma client generation logic.
- Database seeding scripts.