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

Change: ‘markUnused’

Marks Column Unused

Available Attributes

NameDescriptionRequired ForSupportsSince
catalogNameName of the catalogall
columnNameName of the columnallall
schemaNameName of the schemaall
tableNameName of the tableallall
<changeSet author="liquibase-docs"
        id="markUnused-example"
        objectQuotingStrategy="LEGACY">
    <appdba:markUnused catalogName="cat"
            columnName="id"
            schemaName="public"
            tableName="person"/>
</changeSet>
changeSet:
  id: markUnused-example
  author: liquibase-docs
  objectQuotingStrategy: LEGACY
  changes:
  - markUnused:
      catalogName: cat
      columnName: id
      schemaName: public
      tableName: person
{
  "changeSet": {
    "id": "markUnused-example",
    "author": "liquibase-docs",
    "objectQuotingStrategy": "LEGACY",
    "changes": [
      {
        "markUnused": {
          "catalogName": "cat",
          "columnName": "id",
          "schemaName": "public",
          "tableName": "person"
        }
      }]
    
  }
}

SQL Generated From Above Sample (Oracle)

ALTER TABLE cat.person SET UNUSED COLUMN id;

Database Support

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

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