All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.harness.generateChangelog.expectedChangeLog.mssql.createTrigger.xml Maven / Gradle / Ivy

The newest version!
<?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-latest.xsd">

    <changeSet  author="as" id="1">
        <pro:createTrigger disabled="false"
          encoding="UTF-8"
          scope="test"
          tableName="posts"
          triggerName="test_trigger">CREATE TRIGGER test_trigger ON posts AFTER UPDATE AS RAISERROR ('error', 1, 1);
        </pro:createTrigger>
        <rollback>
            <pro:dropTrigger triggerName="test_trigger"
              tableName="posts"/>
        </rollback>
    </changeSet>
</databaseChangeLog>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy