The Prisma 2 CLI currently requires Node 8 (or higher).
npm install -g prisma2
yarn global add prisma2
Sets up Prisma (i.e. Photon and/or Lift) via an interactive wizard.
Starts Prisma development mode.
Invokes the generators specified in the Prisma schema file.
Introspects the database and generates a data model from it.
Creates a new migration folder based on current data model changes.
Apply any migrations that have not been applied yet.
Undo migrations.
Convert the Prisma 1 service configuration to a Prisma 2 schema file.