liquibase.harness.data.changelogs.loadData.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.3.xsd"> <!-- Attribute "usePreparedStatements" is set to false because otherwise we can't validate generated query. Reason: Liquibase core class BatchDmlExecutablePreparedStatementGenerator.java doesn't have implementation --> <changeSet id="1" author="as"> <loadData file="loadData.csv" tableName="posts" commentLineStartsWith="//" quotchar="'" relativeToChangelogFile="true" separator=";" usePreparedStatements="false"> <column name="content" type="string" /> </loadData> <rollback> <delete tableName="posts"> <where>id = 6</where> </delete> <delete tableName="posts"> <where>id = 7</where> </delete> <delete tableName="posts"> <where>id = 8</where> </delete> </rollback> </changeSet> </databaseChangeLog>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy