TL;DR
- prisma migrations production
- For PostgreSQL apps with frequent model changes.
Who this is for
- For PostgreSQL apps with frequent model changes.
Keyword (SEO)
- prisma migrations production
Safety rules
- Add first, use later
- Don’t change types blindly
- Backup before migration
Two-step deployments
- Deploy code for both states
- Then clean up
- Have a rollback plan
Common pitfalls
- Dropping columns immediately
- Missing indexes
- No staging tests