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

LocalDocuments with schema and migrations #3486

Closed
chrisdrackett opened this issue Nov 3, 2021 · 2 comments
Closed

LocalDocuments with schema and migrations #3486

chrisdrackett opened this issue Nov 3, 2021 · 2 comments

Comments

@chrisdrackett
Copy link
Contributor

Case

Feature Request

Issue

We are in the process of moving our local documents from being local docs into being collections with a single document in them. The reason for the move is that we need/want to have a schema and ability to migrate these docs.

While at the end of the day this works, it does create two types of collection in our app.

This request is for either an update to the current local documents or a way to add a new type of local document that has a schema and supports migrations.

@pubkey
Copy link
Owner

pubkey commented Nov 5, 2021

I think you should create a custom plugin for this. It looks like an edge case.

By the way can you check the other open issues and PRs?
Most of the are from you and I have no idea how to proceed there.

@chrisdrackett
Copy link
Contributor Author

I'm fine keeping things in our app custom, it just seems to me that supporting migrations on local documents would be a pretty nice enhancement. As they stand now updating or changing their data model is quite hard it seems.

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

2 participants