ape icon indicating copy to clipboard operation
ape copied to clipboard

Migrations: ape cache migration

Open NotPeopling2day opened this issue 2 years ago • 1 comments

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.

NotPeopling2day avatar Aug 18 '22 21:08 NotPeopling2day

Also maybe consider avoiding using the cache if an update is detected to the schema?

fubuloubu avatar Aug 19 '22 00:08 fubuloubu