Drops all foreign key constraints for a table
Name | Description | Required For | Supports | Since |
---|---|---|---|---|
baseTableCatalogName | Name of the table containing columns constrained by foreign keys | all | 3.0 | |
baseTableName | all | all | ||
baseTableSchemaName | all |
<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 | Notes | Auto Rollback |
---|---|---|
DB2 | Supported | No |
Derby | Supported | No |
Firebird | Supported | No |
H2 | Supported | No |
HyperSQL | Supported | No |
Informix | Supported | No |
MySQL | Supported | No |
Oracle | Supported | No |
PostgreSQL | Supported | No |
SQL Server | Supported | No |
SQLite | Supported | No |
Sybase | Supported | No |
Sybase Anywhere | Supported | No |