Flyway: Strategy for migrating frequently changing functions / stored procedures

独自空忆成欢 提交于 2019-12-06 04:38:58

问题


My question is, has anyone found a satisfactory formula for migration large and frequently changing stored procedures?

This question touches on it and has a response from the Flyway author but it's been over a year and a major release with exciting new framework hooks has since been published.

I've added a more thorough description of the problem and my current solution to this flyway github issue but I thought I'd reach out to a wider audience. As described, I have a working solution but has inelegant aspects to it.

I'm wondering if MigrationResolvers or FlywayCallbacks can be put to good use here?


回答1:


Repeatable Migrations!

Purpose built for this situation, did not exist at time of asking in the 3.x release.



来源:https://stackoverflow.com/questions/25839666/flyway-strategy-for-migrating-frequently-changing-functions-stored-procedures

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!