You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up the liquibase gradle plugin to generate my changelogs automatically. I have managed to run the plugin and obtain a changelog but the log being generated contains several problems.
The main problem that I'm having is that the generated changelog is asking the DB to delete the hibernate sequence table.
The relevant setup part of my build.gradle file is the following:
I'm using a mariaDB database that is compatible with the MySQL driver I have setup. I had to use the MySQL connector because there is a bug with the MariaDB one and the hibernate liquibase plugin (CORE-3457). The MySQL one runs. Also, I had to specify the naming strategy because the default one wasn't matching the strategy spring uses.
When I run gradlew diff I get this weird part where it doesn't recognize liquibase own tables and the hibernate sequence table:
I just used the original table value as the start value of the sequence to preserve my database (since it is a small value this isn't really a problem).
Hello!
I'm actually not sure if this is a liquibase issue, gradle plugin issue, or just a setup issue. After fiddling with this for about a day I couldn't figure out what was happening. Because if that I decided to create an issue here. I have a stackoverflow running with this problem if any of you guys would like the reputation: https://stackoverflow.com/questions/61376885/liquibase-gradle-plugin-is-dropping-hibernate-sequence-table-on-generated-change
I'm trying to set up the liquibase gradle plugin to generate my changelogs automatically. I have managed to run the plugin and obtain a changelog but the log being generated contains several problems.
The main problem that I'm having is that the generated changelog is asking the DB to delete the hibernate sequence table.
The relevant setup part of my build.gradle file is the following:
I'm using a mariaDB database that is compatible with the MySQL driver I have setup. I had to use the MySQL connector because there is a bug with the MariaDB one and the hibernate liquibase plugin (CORE-3457). The MySQL one runs. Also, I had to specify the naming strategy because the default one wasn't matching the strategy spring uses.
When I run gradlew diff I get this weird part where it doesn't recognize liquibase own tables and the hibernate sequence table:
It also says that the hibernate sequence is missing:
Finally, when I run gradlew diffChangelog I'm getting this changeset:
The text was updated successfully, but these errors were encountered: