I’d like to know the “real” way to create a new refactoring in Liquibase 2.0.
The extension portal says this: http://liquibase.jira.com/wiki/display/CONTRIB/Overview
The source code includes a class that says this: http://www.liquibase.org/manual/custom_refactoring_class
Which is correct? Or are they complementary? That is, suppose I want to create a refactoring identified by the tag. Do I implement the CustomTaskChange interface, or do I subclass the AbstractChange class in a liquibase.ext package?
Best,
Laird
You will want to use the documentation from the extension portal. The custom refactoring class is what there was for extensibility with 1.x. Your best option with 2.0, however, will be to create a subclass of AbstractChange in the liquibase.ext package.
Nathan
Originally posted by: Nathan
You will want to use the documentation from the extension portal. The custom refactoring class is what there was for extensibility with 1.x. Your best option with 2.0, however, will be to create a subclass of AbstractChange in the liquibase.ext package.
OK; that’s what I thought; thanks.
L