Follow this guide when upgrading Ory Keto to a newer version.
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.
keto migrateto run the SQL migrations to the new database schema.
Migrating to Keto 0.7
Ory Keto v0.6 used the table-separated namespaces database schema described in the Google Zanzibar paper. However, we found for various reasons outlined in that this isn't ideal for Keto. Visit migrating to Keto v0.7 guide for more information