Change: ‘dropAllForeignKeyConstraints’

Drops all foreign key constraints for a table

Available Attributes

NameDescriptionRequired ForSupportsSince
baseTableCatalogNameName of the table containing columns constrained by foreign keysall3.0
baseTableNameallall
baseTableSchemaNameall
<changeSet author="liquibase-docs" id="dropAllForeignKeyConstraints-example">
    <dropAllForeignKeyConstraints baseTableName="person"/>
</changeSet>
changeSet:
  id: dropAllForeignKeyConstraints-example
  author: liquibase-docs
  changes:
  - dropAllForeignKeyConstraints:
      baseTableName: person
{
  "changeSet": {
    "id": "dropAllForeignKeyConstraints-example",
    "author": "liquibase-docs",
    "changes": [
      {
        "dropAllForeignKeyConstraints": {
          "baseTableName": "person"
        }
      }]
    
  }
}

Database Support

DatabaseNotesAuto Rollback
DB2SupportedNo
DerbySupportedNo
FirebirdSupportedNo
H2SupportedNo
HyperSQLSupportedNo
InformixSupportedNo
MySQLSupportedNo
OracleSupportedNo
PostgreSQLSupportedNo
SQL ServerSupportedNo
SQLiteSupportedNo
SybaseSupportedNo
Sybase AnywhereSupportedNo

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