Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Schema migrations for apps #3

Open
ShishKabab opened this issue Apr 2, 2020 · 0 comments
Open

Feature: Schema migrations for apps #3

ShishKabab opened this issue Apr 2, 2020 · 0 comments
Labels
data-storage enhancement New feature or request

Comments

@ShishKabab
Copy link
Member

As apps evolve, they will change their schema. They could migrate their data themselves, but the problem is that other apps might rely on older versions of their schema. Therefore, using the storex-schema-migration package, we should allow users to describe their migrations in a declarative way. This means that 1) Storex Hub can execute them however it wants, and 2) it may be possible to automatically translate queries on older schemas to queries for the new schema (to be investigated). Another option would be delegate the responsibility for this backward compatibility to the apps themselves, but this would be sub-optimal for various reasons.

@ShishKabab ShishKabab added data-storage enhancement New feature or request labels Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-storage enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant