Code Schemas
Generate schemas using code.
To enable this optional feature, add the codeSchemas
element to your optionalFeatures array in your configuration object.
Feature Effect
Prisma Util will run the functions from your codeGenerators configuration property and will treat the result of those functions as different files.
To target files outputted by a code generator using File:Model.column associations, use codeSchemas:#generatorIndex
as the file name.
Last updated