Socket
Socket
Sign inDemoInstall

prisma-schema-trans

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-schema-trans

Prisma schema post-processor for change names and fields to camelcase and pluralize for push db to a prisma schema.


Version published
Maintainers
1
Created
Source

prisma-schema-trans npm version codecov

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';

// Default options
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

Keywords

FAQs

Package last updated on 06 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc