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

Add support for data migrations #244

Open
1 task done
NoahJGersh opened this issue Feb 13, 2025 · 0 comments · May be fixed by #245
Open
1 task done

Add support for data migrations #244

NoahJGersh opened this issue Feb 13, 2025 · 0 comments · May be fixed by #245
Assignees
Labels
api data models Data model related issue Enhancement Improvements not directly related to features/bugs
Milestone

Comments

@NoahJGersh
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, breaking changes invalidate Documents when the data model is updated, and there is no good way to migrate that data on an automatic basis.

Describe the solution you'd like
For areas where breaking changes are introduced between versions, we should support automatic data model migration to ensure that existing Documents aren't invalidated and broken.

Describe alternatives you've considered
Manual modification of the JSON files and manual invocations of migration functions within the console are sufficient to modify actors locally, especially for content modules, but for users that are updating their systems in place, that is a bit too technical (and too poor of a user experience) to really pursue. It is much better to have an automatic process that is supported as the data model, and system as a whole, mature.

Version
0.2.2-0.3.0

Checklist:

  • I have searched the existing issues to ensure this feature has not already been requested.
@zithith zithith added data models Data model related issue api Enhancement Improvements not directly related to features/bugs labels Feb 13, 2025
@zithith zithith added this to the Release 1.0.0 milestone Feb 13, 2025
@zithith zithith linked a pull request Feb 22, 2025 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api data models Data model related issue Enhancement Improvements not directly related to features/bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants