Skip to content
atarashi
Documentation menu

orm/prisma

Prisma schema and client wired to the selected SQL database, with migrate and studio scripts.

Provides: orm, orm:prisma

Requires: database:sql, language:typescript

Conflicts with: orm

Files it writes

  • prisma/schema.prisma
  • src/db/index.ts

Dependencies

  • @prisma/client@^6.16.2

Development only:

  • prisma@^6.16.2

What it contributes to other files

FileSlotLine
src/index.tsimportsimport { checkDatabaseConnection } from './db/index.js';
src/index.tsbootstrapawait checkDatabaseConnection();

What it merges into other files

  • pnpm-workspace.yaml (yaml-deep)

Use it

atarashi new my-app --add orm/prisma
atarashi add orm/prisma

Version 1.0.0. Format reference: Authoring blueprints.

Part of the atarashi documentation, written and maintained by Gautam Suthar.