Liquibase 2.1.0, Postgresql 8.4, generateChangeLog command does not generate unique constrains into the XML file. Apparently I have the unique constrains in the database, but there is no such information in the generated file.
I am using the following command:
C:\Users\lukast\Desktop\liquibase-2.0.1-bin>liquibase --driver=org.postgresql.Driver --classpath=postgresql-8.4-701.jdbc4.jar --url=“jdbc:postgresql://localhos
:5432/db” --username= --password= --changeLogFile= --defaultSchemaName= --diffTypes=“tables, columns, views, primaryKeys, indexes, fo
eignKeys, data” --logLevel=debug --databaseClass=liquibase.database.core.PostgresDatabase generateChangeLog
The only information in the generated file about the column with the unique constraint from the database is:
Am I doing something wrong or is it 2.1.0 BUG ?
Is there any workaround ? Maybe it worked in older versions of liquibase ?
Thanks in advance for help.