Liquibase – disable checksum?
Try adding validCheckSum with the literal ANY to the top of your changeSet, like this: <changeSet> <validCheckSum>ANY</validCheckSum> <!– the rest of your changeSet here –> </changeSet>
Try adding validCheckSum with the literal ANY to the top of your changeSet, like this: <changeSet> <validCheckSum>ANY</validCheckSum> <!– the rest of your changeSet here –> </changeSet>
What you you will have to do is use changelog parameters and define a “now” or “current_timestamp” parameter that is replaced per database type. At the top of your <databaseChangeLog>, normally just outside your <changeset>, add per-database definitions of the property like: <property name=”now” value=”sysdate” dbms=”oracle”/> <property name=”now” value=”now()” dbms=”mysql”/> <property name=”now” value=”now()” dbms=”postgresql”/> then … Read more
You can read liquibase manual also similar problem you can find here In your case it should be: <changeSet author=”liquibase-docs” id=”addUniqueConstraint-example”> <addUniqueConstraint columnNames=”product_id, tournament_id” constraintName=”your_constraint_name” tableName=”person” /> </changeSet>