Flyway:迁移频繁更改的功能/存储过程的策略 [英] Flyway: Strategy for migrating frequently changing functions / stored procedures

查看:208
本文介绍了Flyway:迁移频繁更改的功能/存储过程的策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是,有没有人找到令人满意的公式来迁移大型且频繁更改的存储过程?

这个问题已涉及到该问题,并且得到了Flyway作者的回应,但已经过了一年,并且主要发布了令人兴奋的新框架钩子已经发布。

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.

我已经对该问题和我当前对此flyway github问题,但我认为我希望能接触到更多的读者。如前所述,我有一个可行的解决方案,但它的方面不完善。

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.

我想知道是否可以在此处充分利用MigrationResolvers或FlywayCallbacks?

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

推荐答案

可重复的迁移!

为这种情况而构建的目的,在3.x版本中问之时不存在。

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

这篇关于Flyway:迁移频繁更改的功能/存储过程的策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆