Avoid additional Mongock Configuration #741
WLefever-Cegeka
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I think this is risky since our mongock changesets are often not backwards compatible. If you run changeset 1 on a more recent database, it will break the data. My main concern is people running different states of version 0 at the moment. If we they started using the server without mongock but have the datamodel of changeset 3. Suddenly running all unrun changesets on their server would mess up the data. If we do implement this, we should perhaps do this as of v1. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current version of the server requires mongock configuration to start.
Another option is to hardwire that configuration in a bean, e.g. always execute all mongock changesets.
That would avoid that users need to add additional configuration to their application.yml.
https://docs.mongock.io/v5/runner/springboot/index.html
Beta Was this translation helpful? Give feedback.
All reactions