liquibase.harness.data.changelogs.derby.delete.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"> <!-- Derby requires valueNumeric attribute to be used for int values--> <changeSet id="1" author="as"> <insert tableName="posts"> <column name="id" valueNumeric="100"/> <column name="author_id" valueNumeric="10"/> <column name="title" value="value"/> <column name="description" value="value"/> <column name="content" value="value"/> <column name="inserted_date" value="2006-10-09"/> </insert> <rollback/> </changeSet> <changeSet id="2" author="as"> <delete tableName="posts"> <where>id=100</where> </delete> <rollback/> </changeSet> </databaseChangeLog>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy