Skip navigation links

Package liquibase.change.custom

Although Liquibase tries to provide a wide range of database refactorings, there are times you may want to create your own custom refactoring class.

See: Description

Package liquibase.change.custom Description

Although Liquibase tries to provide a wide range of database refactorings, there are times you may want to create your own custom refactoring class.

To create your own custom refactoring, simply create a class that implements the CustomSqlChange or CustomTaskChange interface and use the <custom> tag in your change set.

If your change can be rolled back, implement the CustomSqlRollback interface as well.

For a sample custom change class, see liquibase.change.custom.ExampleCustomSqlChange in the test sources.

Skip navigation links

Copyright © 2019 Liquibase.org. All rights reserved.