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.
public class Expression {
// stuff
@Column(name = "glossary", length = 1000)
private String glossary;
// stuff
}
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?
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.