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

[#9872] LiquibaseDatabase should use provided contexts on update #9874

Merged
merged 1 commit into from
Feb 25, 2020

Conversation

Fadelis
Copy link
Contributor

@Fadelis Fadelis commented Feb 25, 2020

No description provided.

@@ -97,7 +97,8 @@
@Override
protected void export() throws Exception {
String scripts = getProperties().getProperty("scripts");
includeLiquibaseTables = Boolean.valueOf(getProperties().getProperty("includeLiquibaseTables", "false"));
String liquibaseContexts = getProperties().getProperty("contexts", "");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this should be prefixed with the database. prefix as it is not a database property. But maybe it could be prefixed with something else, currently just went based on the scripts property.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inside of Liquibase, the Contexts object gets passed along to changeLogParameters. I'd say, we call it changeLogParameters.contexts.

@lukaseder
Copy link
Member

Thanks a lot for your suggestion. I'll merge and fix according to my comments. I think we can safely backport this to 3.13.2, for immediate availability as well.

@lukaseder lukaseder merged commit eaeb60e into jOOQ:master Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants