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

Re : Upgrading from 2.0.5 to 3.2.0

$
0
0
I'm not sure what the problem is, but I would try diagnosing it further by replacing all the 0 values with different values (1, 2, 3, etc.), so you could see which column is the problem. So something like this:

 <changeSet author="tnelson" id="devdata-defaultuser" context="dev,test">
        <preConditions onFail="MARK_RAN">
            <dbms type="h2"/>
        </preConditions>
         <sql splitStatements="true">
            SET REFERENTIAL_INTEGRITY FALSE;

            INSERT INTO USERS
            (userid, companyid, useremail, firstname, lastname, password,
            createuserid, createdate, updateuserid, updatedate, forcepasswordchange, wizardcomplete,
            sendnewjobnotification, sendmodifiedjobnotification, active)
            VALUES
            (1, 86, 'instihire@starpoint.com', 'System', 'User', 'INVALID',
            2, '2000-01-01', 3, '2000-01-01', 'N', 'Y', 'N', 'N', 'N');

            SET REFERENTIAL_INTEGRITY TRUE;
        </sql>
    </changeSet>

Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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