tagDatabase

Applies a tag to the database for future rollback.

Available attributes

Name Description Required for Supports
tag Tag to apply all all

XML example

<changeSet  author="liquibase-docs"  id="tagDatabase-example">  
    <tagDatabase  tag="version_1.3"/>  
</changeSet>

YAML example

changeSet:  
  id:  tagDatabase-example  
  author:  liquibase-docs  
  changes:  
  -  tagDatabase:  
      tag:  version_1.3

JSON example

{  "changeSet":  {  "id":  "tagDatabase-example",  "author":  "liquibase-docs",  "changes":  [  {  "tagDatabase":  {  "tag":  "version_1.3"  }  }]  }  }

Database support

Database Notes Auto rollback
DB2/LUW Supported Yes
DB2/z Supported Yes
Derby Supported Yes
Firebird Supported Yes
H2 Supported Yes
HyperSQL Supported Yes
INGRES Supported Yes
Informix Supported Yes
MariaDB Supported Yes
MySQL Supported Yes
Oracle Supported Yes
PostgreSQL Supported Yes
SQL Server Supported Yes
SQLite Supported Yes
Sybase Supported Yes
Sybase Anywhere Supported Yes