Apply Upgrades
Follow this guide when upgrading Ory Hydra to a newer version.
warning
Back up your data! Applying upgrades can lead to data loss if handled incorrectly.
- Review breaking changes.
Visit the CHANGELOG.md to see if breaking changes have been introduced in the version you are upgrading to. - Backup your data.
- Update the Ory Hydra SDK if used in your application.
- Install the new version of Ory Hydra.
- Run
hydra migrate sql
to run the SQL migrations to the new database schema.
Should you run into problems with the upgrade, consider a stepped upgrade and please visit the community chat or start a discussion.