Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 446 Bytes

README.dev.md

File metadata and controls

32 lines (22 loc) · 446 Bytes

Database

✏️ Rename .env.example to .env and fill variables

DATABASE_URL="..."
ORIGIN="..."

Launch local database in docker

docker compose up postgres

Apply migrations for production database

npx prisma migrate deploy

Inspect your database with Prisma Studio

npx prisma studio

How to add new migration?

npx prisma migrate dev --skip-seed --name migrationName