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

No check if there are multiple databaseChangeLog root element #59

Open
b-gyula opened this issue Jun 18, 2024 · 1 comment
Open

No check if there are multiple databaseChangeLog root element #59

b-gyula opened this issue Jun 18, 2024 · 1 comment

Comments

@b-gyula
Copy link

b-gyula commented Jun 18, 2024

Opposed to the other file formats, where databaseChangeLog can be to one and only root element
this is a perfectly working and accepted script

databaseChangeLog {
	include (file: '/dev/liquibase/groovy-dsl/test/changelogs/log1.groovy')
}

databaseChangeLog {
	include (file: '/dev/liquibase/groovy-dsl/test/changelogs/log2.groovy')
}
@stevesaliman
Copy link
Collaborator

It's unusual, but not at all invalid to have more than one databaseChangeLog in a file. Is this creating any problems?

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