Documentation
Browse and explore docs
Run Migrations
After configuring your .env file, push the schema to your Supabase database. Prisma uses DIRECT_URL (plain Postgres port, not pgbouncer) for migrations.
| Step | Command |
|---|---|
| Generate client | |
| Push schema (dev) | |
| Create migration | |
| Deploy migration (production) | |
Note: Useprisma db push for quick prototyping during development. Useprisma migrate dev when you want a tracked migration history for production.