This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-check | |
/* | |
* Run using `node convert-casing-after-prisma-pull.mjs` after installing `change-case` in your workspace. | |
* Then pipe your schema into it. | |
* | |
* Script will normalize the model names, field names and enums. | |
* It should not affect your database schema, only the generated js client from Prisma. | |
* | |
* Tip: after processing, run `prisma format` on the file. | |
*/ |