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

Is there a way to tag the current database state? #70

Closed
mmarcon opened this issue Dec 18, 2020 · 1 comment · Fixed by #85
Closed

Is there a way to tag the current database state? #70

mmarcon opened this issue Dec 18, 2020 · 1 comment · Fixed by #85

Comments

@mmarcon
Copy link

mmarcon commented Dec 18, 2020

It's great that now rollbacks work well! I am trying the rollback to a tag, but I don't seem to be able to create a tag in the first place.

I tried to put a tag in the XML of the changelog, and I tried the tag command to tag manually. I wasn't successful in either case.

If I change the tag field manually in the documented inside the DATABASECHANGELOG collection then I can rollback with no issues so the problem is also with the tagging itself. What am I doing wrong?

┆Issue is synchronized with this Jira Bug by Unito

@alexandru-slobodcicov
Copy link

alexandru-slobodcicov commented Jan 25, 2021

Thank you @mmarcon . Please not the associated PR and the comments.
Fixed last state tag. tagDatabase works out of the box. Added integration tests for xml and json/
MongoLiquibaseIT#testTags->changelog.insert-tags.test.xml MongoLiquibaseJsonIT#testTags->changelog.insert-tags.json

Most probably fix will be part of 4.2.2.1

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

Successfully merging a pull request may close this issue.

2 participants