Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 1169

Change set checksum and parameter substitution

$
0
0
Hello,

I have a create table change set
  1.     <changeSet id="1" author="bob">
  2.         <createTable tableName="department" tablespace="${department.tablespace}">
  3.             <column name="id" type="int">
  4.                 <constraints primaryKey="true" nullable="false"/>
  5.             </column>
  6.             <column name="name" type="varchar(50)">
  7.                 <constraints nullable="false"/>
  8.             </column>
  9.             <column name="active" type="boolean" defaultValueBoolean="true"/>
  10.         </createTable>
  11.     </changeSet>

I export the whole database from production environment, and import it in Q&A environment, but the tablespace parameter value is not the same on both environnements. I get

  1. liquibase.exception.ValidationFailedException: Validation Failed:
  2.      1 change sets check sum
  3.           liquibase/VariableChangeLog.xml::1::bob is now: 7:0760f4ad19ac49b86d211b7c07aacec3

In my case checksum should be computed without taking into account parameter values . It it possible to do that?

Liquibase 3.4.2 on Oracle

Gérald



Viewing all articles
Browse latest Browse all 1169


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>