I run
liquibase generateChangeLog --diffTypes="data"
but it generates changelog file without any inserts, the same as without diffTypes.
Properties:
driver=org.postgresql.Driver
classpath=postgresql.jdbc.jar
url=jdbc:postgresql://localhost:5432/knightsaga
username=postgres
password=postgres
# default changelog to use, relative to classpath
changeLogFile=./changelogs/db.changelog.xml
### DIFF params ###
referenceUrl=jdbc:postgresql://localhost:5432/knightsaga
referenceUsername=postgres
referencePassword=postgres
How to include data there?
Did you try to run generateChangelog command without using properties file? You can specify all of the parameters in the command line like in following example :
liquibase --driver=org.postgresql.Driver --classpath=postgresql.jdbc.jar --changeLogFile=./changelogs/db.changelog.xml --url="jdbc:postgresql://localhost:5432/knightsaga" --username=postgres --password=postgres --diffTypes="data" generateChangeLog