Change: ‘executeCommand’
Executes a system command. Because this refactoring doesn’t generate SQL like most, using Liquibase commands such as migrateSQL may not work as expected. Therefore, if at all possible use refactorings that generate SQL.
Available Attributes
Name Description
executable Name of the executable to runE.g. 'mysqldump'
timeout Timeout value for executable to runE.g. '10s'
<changeSet author= "liquibase-docs" id= "executeCommand-example" >
<executeCommand executable= "mysqldump" timeout= "10s" />
</changeSet>
changeSet :
id : executeCommand-example
author : liquibase-docs
changes :
- executeCommand :
executable : mysqldump
timeout : 10s
{
"changeSet" : {
"id" : "executeCommand-example" ,
"author" : "liquibase-docs" ,
"changes" : [
{
"executeCommand" : {
"executable" : "mysqldump" ,
"timeout" : "10s"
}
}]
}
}
Database Support
Database Notes Auto Rollback
DB2/LUW Supported No
DB2/z Supported No
Derby Supported No
Firebird Supported No
H2 Supported No
HyperSQL Supported No
INGRES Supported No
Informix Supported No
MariaDB 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