baseSchema

Type: Path

Versioning History

API Version v1.0.0 - Introduced baseSchema configuration option.

The base schema is the Prisma file that contains your generator and datasource. This file is vital to the core functioning of Prisma and Prisma Util, and as such it is a required part of the configuration file. To set a base schema, add the following line to your exported configuration object:

prisma-util.config.mjs
export default {
    // Other configuration lines
    baseSchema: "yourPath"
}

Last updated