Apply Upgrades
Follow this guide when upgrading Ory Keto 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 Keto SDK if used in your application.
- Install the new version of Ory Keto.
- Run
keto migrate
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.