liquibase.harness.change.changelogs.percona-xtradb-cluster.dropCheckConstraint.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:pro="http://www.liquibase.org/xml/ns/pro" 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-3.8.xsd"> <changeSet id="1" author="as"> <pro:addCheckConstraint constraintName="test_check_constraint" disabled="false" tableName="posts" validate="true">author_id > 0</pro:addCheckConstraint> <rollback/> </changeSet> <changeSet author="as" id="2" > <pro:dropCheckConstraint tableName="posts" constraintName="test_check_constraint"> </pro:dropCheckConstraint> <rollback/> </changeSet> </databaseChangeLog>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy