Hi Team,
How many change set can we use in single XML file. what is the Limit
Like below: here i have used 2 change set.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<property name="changeSetType" value="DML"/>
<changeSet author="Saravanan1" id="2013" failOnError="true" runOnChange="true">
<comment>First table</comment>
<sql splitStatements="true">
update query;
</sql>
<rollback>
rollback query for update query
</rollback>
</changeSet>
<changeSet author="Saravanan2" id="2013" failOnError="true" runOnChange="true">
<comment>second table</comment>
<sql splitStatements="true">
update query;
</sql>
<rollback>
rollback query for update query
</rollback>
</changeSet>
</databaseChangeLog>
How many change set can we use in single XML file. what is the Limit
Like below: here i have used 2 change set.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
<property name="changeSetType" value="DML"/>
<changeSet author="Saravanan1" id="2013" failOnError="true" runOnChange="true">
<comment>First table</comment>
<sql splitStatements="true">
update query;
</sql>
<rollback>
rollback query for update query
</rollback>
</changeSet>
<changeSet author="Saravanan2" id="2013" failOnError="true" runOnChange="true">
<comment>second table</comment>
<sql splitStatements="true">
update query;
</sql>
<rollback>
rollback query for update query
</rollback>
</changeSet>
</databaseChangeLog>