New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prisma2

Package Overview
Dependencies
Maintainers
1
Versions
1100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma2

Learn more about Prisma 2 in the [docs](https://github.com/prisma/prisma2).

  • 2.0.0-alpha.951
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
160
increased by32.23%
Maintainers
1
Weekly downloads
 
Created
Source

Prisma 2 CLI

Learn more about Prisma 2 in the docs.

Getting started

Check out the "Getting Started"-guide to get started with Prisma 2.

Installation

The Prisma 2 CLI currently requires Node.js 10 (or higher).

npm

npm install -g prisma2

Yarn

yarn global add prisma2

General

prisma2 init

Sets up a prisma/schema.prisma file in the current directory.

prisma2 generate

Invokes the generators specified in the Prisma project file.

prisma2 generate --watch

Watches the Prisma project file and runs generate when the file changes.

prisma2 introspect

Introspects the database and generates a data model from it.

Migrate

prisma2 migrate save --experimental

Creates a new migration folder based on current data model changes.

prisma2 migrate up --experimental

Apply any migrations that have not been applied yet.

prisma2 migrate down --experimental

Undo migrations.

FAQs

Package last updated on 24 Mar 2020

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