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

The updateSql command doesn't invoke the generateStatements method on any instances of CustomSqlChange. #4394

Open
1 of 2 tasks
victorrodrigueznadq opened this issue Jun 17, 2023 · 1 comment

Comments

@victorrodrigueznadq
Copy link

Search first

  • I searched and no similar issues were found

Description

The updateSql command doesn't invoke the generateStatements method on any instances of CustomSqlChange. Therefore, When running the updateSql command, it's not possible to see the statements generated by any instances of CustomSqlChange.

Steps To Reproduce

Run the updateSql command when you have some changesets that use a CustomSqlChange.

Expected/Desired Behavior

the generateStatements method should be invoked and the sql generated with the updateSql command.

Liquibase Version

4.21.1

Database Vendor & Version

No response

Liquibase Integration

No response

Liquibase Extensions

No response

OS and/or Infrastructure Type/Provider

No response

Additional Context

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)
@ddavidyuk
Copy link

Had the same issue, worked around by writing a custom liquibase change (as described here: https://contribute.liquibase.com/extensions-integrations/extensions-overview/your-first-extension/)

@kevin-atx kevin-atx added this to the JavaAPI milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Open Issues
Development

No branches or pull requests

3 participants