-
Notifications
You must be signed in to change notification settings - Fork 157
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
Database diff not considering column length #594
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone, I've encountered the following issue when running "diffChangelog" command in my project.
Currently, I have the following column in my database table:
It is a varchar, length 1000.
On the entity source code, the following mapping is done.
With the code above, the initial changelog was created correctly, specifying the length, etc.
However, if I change the "length" attribute to anything else, proceed to clean and build the classpath once again, and run the "diffChangelog" task, the newer changelog generates empty, without the supposed "ALTER TABLE" command.
If I rename the column, the current column is dropped and the new column is created correctly. Looking into past issues, issue #450 supposedly solved it.
I'm using the following configurations/versions. Am I missing something?
liquibase.properties:
build.gradle (plugin):
build.gradle (dependencies):
build.gradle (config):
Command being used to generate changelog:
Thanks in advance.
The text was updated successfully, but these errors were encountered: