liquibase 在与 Maven 插件集成时如何适用于不同的部署或生产环境?

发布于 2025-01-15 18:28:10 字数 294 浏览 1 评论 0原文

我已将 liquibase 与 maven 插件(在 pom.xml 中)以及 jOOQ 生成器集成在一起,该生成器在 liquibase 迁移后从数据库连接读取。 liquibase 迁移 -> jooq 生成器在运行mvn cleancompile(编译和构建步骤)时运行。 我想知道 liquibase 变更管理如何适用于不同的部署或不同的产品环境? 它会为所有产品环境自动创建表吗?请指导。

I have integrated liquibase with maven plugin (in pom.xml) along with jOOQ generator that reads from db connection after liquibase migration.
The liquibase migration -> jooq generator runs on running mvn clean compile (Compile and build step).
I am wondering how will the liquibase change-management work for different deployments or different prod environments?
Will it create tables automatically for all the prod environments? Please guide.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蔚蓝源自深海 2025-01-22 18:28:10

这似乎与您的之前的问题相同。

如果不一样,那么首先要查看的地方是 Liquibase Documentation for Maven< /a> 然后是 从 Liquibase XML、YAML、JSON 文件生成代码

This seems like the same ask as your earlier question.

If it's not the same, then the first place to look is Liquibase Documentation for Maven and then the jOOQ manual for Code generation from Liquibase XML, YAML, JSON files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文