ape
ape copied to clipboard
Migrations: ape cache migration
Overview
When the cache schema needs to change, we want to support migrations to allow user's to update their cache files. User's should be able to call ape cache migrate
to update their cache databases to match the latest requirements.
Specification
- [ ]
ape cache migrate
command
Acceptance Criteria
- Previous data schemas can be updated
- Patch versions won't update schema
- Major version changes can change schema completely
- Migrations won't be automatic
- Migrations can be manually triggered
Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.
Also maybe consider avoiding using the cache if an update is detected to the schema?