# Prisma Migration Structure This project uses Prisma as the default data access layer. Migration policy: - Create schema changes with `pnpm prisma:migrate:dev --name ` after the final MySQL connection details are confirmed. - Commit generated folders under `prisma/migrations/_/migration.sql`. - Run migration checks in deployment before starting the API. - Keep raw SQL exceptional. If native SQL is required for performance or vendor-specific behavior, place it behind a Repository method and document why Prisma Client is not sufficient. The first-stage schema is defined in `prisma/schema.prisma`; no live migration is executed until a local or staging MySQL database is explicitly provided.