Provides the Prisma database schema for the eFiber project, enabling Node.js applications to generate and use Prisma Client with the predefined schema. Current stable version is 2.2.0. Adheres to eFiber's data model and is intended for internal use. Does not include migrations or seed data; relies on Prisma's version ^6.19.2 as a peer dependency. Differentiates from custom schema definitions by offering a centralized, versioned schema package.
npm install efiber-prisma-schemaVerified import paths — ran on the pinned version, not inferred.
Install schema package and Prisma, generate client, then instantiate and query using PrismaClient.
Run 'npx prisma migrate dev --schema=node_modules/efiber-prisma-schema/schema.prisma' to create migrations.
Ensure your project uses prisma@^6.19.2.
Use the full path to schema.prisma in node_modules.
Run 'npx prisma generate --schema=node_modules/efiber-prisma-schema/schema.prisma' and ensure @prisma/client is installed.
Use '--schema=node_modules/efiber-prisma-schema/schema.prisma' with prisma commands.