Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prisma-schema-trans

Package Overview
Dependencies
Maintainers
0
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.

  • 1.5.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
decreased by-42.86%
Maintainers
0
Weekly downloads
 
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 12 Jul 2024

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