Upgrades and migrations
This page describes how to approach upgrades safely.
Principles
- Upgrade in staging before production.
- Keep a rollback path for application deployments.
- Treat database migrations as a controlled change with verification.
Recommended upgrade workflow
- Read release notes and migration notes (if available): Changelog.
- Backup the database and validate restore readiness.
- Apply migrations in a controlled window.
- Deploy the new application version.
- Run smoke checks:
- health
- token issue
- authorize and commit
- Monitor error rates and backlog for a stability window.
Next
- Capacity and reliability: Capacity and reliability