prisma-schema-trans
Description
Prisma schema post-processor for change names and fields to camelcase and pluralize for push db to a prisma schema.
Usage
$ prisma-schema-trans -h
ESModule config file
schema-trans.mjs
import { defConfig } from 'prisma-schema-trans';
export default defConfig({
deny: [],
omitPluralFields: [],
pluralFields: true,
updatedAtByTrigger: false,
});
Purpose
Facilitate migrations from other frameworks or programming languages.
Creating a prisma schema from an existing database.
Call prisma-db-pull
with a minimal configuration in a prisma/back.prisma
file, documentation is not override.
License
Project is MIT licensed.
Fork from https://github.com/IBM/prisma-schema-transformer