cli/packages/prisma-generate-schema/scripts/README.md
These scripts re-generate the ground-truth schema for all unit tests from an existing prisma service.
Workfow for re-generating tests using these scripts. Please make sure you are in the correct working directory when executing them.
./refreshAll.shcd mongodb or cd mysql.PRISMA_HOST environment variable to your prisma host.../deploySchemas.sh, which will deploy all test models to https://$PRISMA_HOST:4466/schema-generator/MODEL.cd .../fetchSchemas NAME, where name is usually relational or document, depending on which DB is running on your PRISMA_HOST.