Using DB migrations using Flyway with mult开发者_C百科iple schemas which have the same lifecycle, how can I achieve that they all get clean when I use flyway:clean?
Support for this has now been added to the 1.3.1 release!
Set the flyway.schemas property with the list of schemas you wish to manage, and your good to go!
Example:
flyway.schemas=schema1,schema2,schema3
mvn flyway:clean will now clean all 3 schemas.
精彩评论