Hi,
when I execute command line "mvn liquibase:diff", in order to compare my JPA entity model and existing database, a get appropriate diffChangeLog.xml (with two FKs added). But, when I add custom maven "db-diff" profile in which I execute "diff" goal, I get completely different diffChangeLog - it contains only drop tables statements of my existing database.
Am I missing something?
Best Regards
Armin
P.S. pom is attached.
liquibase.properties:
changeLogFile=db/changelog/db.changelog-master.xml
P.S. pom is attached.
liquibase.properties:
changeLogFile=db/changelog/db.changelog-master.xml
url=jdbc:sqlserver://10.81.1.200:1433;databaseName=psd2
username=sa
password=something
driver=com.microsoft.sqlserver.jdbc.SQLServerDriveroutputChangeLogFile=src/main/resources/liquibase-outputChangeLog.xml
referenceUrl=hibernate:spring:si.nlb.dbp.psd2.domain?dialect=org.hibernate.dialect.SQLServer2012Dialect
diffChangeLogFile=liquibase-diff-changeLog.xml