Need Liquibase® support? Liquibase Pro is now available! Try it out free.
2018 XML Announcement

Change: ‘disableTrigger’

Disable Trigger

Available Attributes

NameDescriptionRequired ForSupportsSince
catalogNameName of the catalogall
schemaNameName of the schemaall
scopeall
tableNameName of the tableall
triggerNameallall
<changeSet author="liquibase-docs"
        id="disableTrigger-example"
        objectQuotingStrategy="LEGACY">
    <ext:disableTrigger catalogName="cat"
            schemaName="public"
            scope="A String"
            tableName="person"
            triggerName="A String"/>
</changeSet>
changeSet:
  id: disableTrigger-example
  author: liquibase-docs
  objectQuotingStrategy: LEGACY
  changes:
  - disableTrigger:
      catalogName: cat
      schemaName: public
      scope: A String
      tableName: person
      triggerName: A String
{
  "changeSet": {
    "id": "disableTrigger-example",
    "author": "liquibase-docs",
    "objectQuotingStrategy": "LEGACY",
    "changes": [
      {
        "disableTrigger": {
          "catalogName": "cat",
          "schemaName": "public",
          "scope": "A String",
          "tableName": "person",
          "triggerName": "A String"
        }
      }]
    
  }
}

SQL Generated From Above Sample (SQL Server)

DISABLE TRIGGER [public].[A String]  ON cat.[public].person;

Database Support

DatabaseNotesAuto Rollback
DB2Not SupportedNo
DerbyNot SupportedNo
FirebirdNot SupportedNo
H2Not SupportedNo
HyperSQLNot SupportedNo
INGRESNot SupportedNo
InformixNot SupportedNo
MariaDBNot SupportedNo
MySQLNot SupportedNo
OracleSupportedNo
PostgreSQLSupportedNo
SQL ServerSupportedNo
SQLiteNot SupportedNo
SybaseNot SupportedNo
Sybase AnywhereNot SupportedNo