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

Change: ‘dropFunction’

Drops an existing function

Available Attributes

NameDescriptionRequired ForSupportsSince
catalogNameName of the catalogall
functionNameName of the function to dropallall
schemaNameName of the schemaall
<changeSet author="liquibase-docs"
        id="dropFunction-example"
        objectQuotingStrategy="LEGACY">
    <ext:dropFunction catalogName="cat"
            functionName="A String"
            schemaName="public"/>
</changeSet>
changeSet:
  id: dropFunction-example
  author: liquibase-docs
  objectQuotingStrategy: LEGACY
  changes:
  - dropFunction:
      catalogName: cat
      functionName: A String
      schemaName: public
{
  "changeSet": {
    "id": "dropFunction-example",
    "author": "liquibase-docs",
    "objectQuotingStrategy": "LEGACY",
    "changes": [
      {
        "dropFunction": {
          "catalogName": "cat",
          "functionName": "A String",
          "schemaName": "public"
        }
      }]
    
  }
}

SQL Generated From Above Sample (MySQL)

DROP FUNCTION cat.`A String`;

Database Support

DatabaseNotesAuto Rollback
DB2SupportedNo
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

Missing, incomplete or wrong information? Please send a pull request