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

Migration docs #2

Open
pablichjenkov opened this issue Nov 14, 2024 · 1 comment
Open

Migration docs #2

pablichjenkov opened this issue Nov 14, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@pablichjenkov
Copy link

Is it possible to add a session in the documentation about how migration works. What would happen if a model schema changes. Perhaps no migration is needed, in such a case how the scenario above is handled, similar to a nosql db?
Would be nice having all these documented.

@chrisjenx
Copy link
Collaborator

Good call.

TLDR until added. Part of the config you can pass in, is the deserialize option, by default it will throw an error, but you can change it to delete the entity instead so it will keep working.

Open to "better" ways of handling situations like that (maybe a on failed callback etc)

@chrisjenx chrisjenx added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants