prisma-util schema

Versioning History

API Version v1.0.0 - Introduced schema subcommand.

This command will bundle the schema into a file, but won't run any underlaying Prisma commands. You can use this command to chain requests if you don't want to replace the Prisma CLI or just want the full schema. This command can have these options:

  • --path <path> - Change the path to the generated schema file. path needs to be a relative path that denotes an accessible location for a Prisma file. The default value of this option is ./node_modules/.bin/generated-schema.prisma.

Last updated