This repository is used as a central point to collect information and issues around Prisma 2 while it's in Preview. It also contains the documentation.
Prisma 2 is currently in Preview! Limitations include missing features, limited performance and stability issues.
The easiest way to get started with Photon and/or Lift is by installing the Prisma 2 CLI and running the interactive init
command:
npm install -g prisma2
prisma2 init hello-prisma
The interactive prompt will ask you to provide database credentials for your database. If you don't have a database yet, select SQLite and let the CLI set up a database file for you.
Learn more about the prisma2 init
flow here or get started with a holistic tutorial.
- Getting started
- Tutorial
- Prisma ecosystem
- Prisma schema file
- Data sources
- Data modeling
- Relations
- Prisma 2 CLI
- Development mode
- Introspection
- Limitations
- Core
- Connectors
- Generators
- Photon
- Lift
- Supported databases
- Glossary