Liquibase® version 3.8.5 is now available! Get it for free.
2018 XML Announcement
News All Previous Posts >>

Subscribe for email updates

- and/or -

Change: ‘tagDatabase’

Applies a tag to the database for future rollback

Available Attributes

NameDescription
tagTag to applyE.g. 'version_1.3'
<changeSet author="liquibase-docs" id="tagDatabase-example">
    <tagDatabase tag="version_1.3"/>
</changeSet>
changeSet:
  id: tagDatabase-example
  author: liquibase-docs
  changes:
  - tagDatabase:
      tag: version_1.3
{
  "changeSet": {
    "id": "tagDatabase-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "tagDatabase": {
          "tag": "version_1.3"
        }
      }]
    
  }
}

SQL Generated From Above Sample (MySQL)

Database Support

DatabaseNotesAuto Rollback
DB2/LUWSupportedYes
DB2/zSupportedYes
DerbySupportedYes
FirebirdSupportedYes
H2SupportedYes
HyperSQLSupportedYes
INGRESSupportedYes
InformixSupportedYes
MariaDBSupportedYes
MySQLSupportedYes
OracleSupportedYes
PostgreSQLSupportedYes
SQL ServerSupportedYes
SQLiteSupportedYes
SybaseSupportedYes
Sybase AnywhereSupportedYes