开发者

Flyway: How to support cleaning of multiple schemas with same lifecycle?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜