PrismaP
Prisma11mo ago
3 replies
Quan

Running prisma migrate deploy in a production server

Hi all, I was wondering if I should be running prisma generate before prisma migrate deploy in a production server, I feel like I haven't seen this in any of the docs I've seen. I'm currently executing this:
python3 -m prisma generate
python3 -m prisma migrate deploy
# python3 seed_db.py
python3 -m fastapi run src/main.py --port 3100 --proxy-headers
Was this page helpful?