Upgrade
Upgrades come in two kinds: shipping your own changes, and moving to a new platform version.
Ship your own changes
When you change code that touches installed apps, update those apps on each workspace database so the changes apply. Always back up first (Back up & restore), then update the affected apps per database.
New apps you've added to the codebase are installed where their dependencies are met; existing apps are updated in place. A safe routine:
- Back up every workspace database.
- Deploy the new code.
- Update apps per database.
- Health-check a workspace.
Move to a new platform version
A major version bump can change data structures. Test it on a copy first:
- Restore a recent backup into a staging environment.
- Run the upgrade there.
- Verify your workspaces and custom apps.
- Only then upgrade production, with a fresh backup in hand.
Never upgrade production without a tested backup
Restore-and-test on staging is the difference between a routine upgrade and a bad day.
Related
Need a hand with this? company@everjust.co — a human answers.