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

Improve data migrations #31

Open
Greenheart opened this issue Jul 10, 2024 · 0 comments
Open

Improve data migrations #31

Greenheart opened this issue Jul 10, 2024 · 0 comments

Comments

@Greenheart
Copy link
Owner

Do not assume that all protocol versions have the same runtime data structure. For example, add default values if a field is missing when importing into a newer version and upgrading.

Keep import and export functions for each version.

Add migration scripts that upgrade or downgrade between formats and versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant