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

Support sqlFile inside rollback #24

Closed
juancoen opened this issue Sep 20, 2016 · 4 comments
Closed

Support sqlFile inside rollback #24

juancoen opened this issue Sep 20, 2016 · 4 comments

Comments

@juancoen
Copy link

juancoen commented Sep 20, 2016

rollback() {
  sqlFile(path: "rollback.sql", relativeToChangelogFile: true)
}

fails because "rollback.sql" is not found.
It seems that this combination is not supported by the dsl.

Thanks!

@trazy
Copy link

trazy commented Nov 11, 2016

me too.. i try to in groovy file, new File({file path}).getAbsolutePath(), but java could not found file..

example > sqlFile(path: new File("rollback.sql").getAbsolutePath())

@stevesaliman
Copy link
Collaborator

I think I found the issue. I'm working on a fix now, which I hope to have out in a few days.

@stevesaliman
Copy link
Collaborator

Release 1.2.2 is out with a fix for this issue.

@stevesaliman
Copy link
Collaborator

If you use the DSL via the Liquibase Gradle plugin, the 1.2.2 release of that plugin has a bug and should not be used. Gradle users should use version 1.2.3 of the Gradle plugin.

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

3 participants