如何使用 Liquibase-MongoDb-Spring-boot [英] How to use Liquibase-MongoDb-Spring-boot

查看:41
本文介绍了如何使用 Liquibase-MongoDb-Spring-boot的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我检查并发现 liquibase 是为 Mongo DB 扩展的,但我看不到任何将它与 spring-boot 一起使用的示例,谁能建议使用 的方法code>liquibasespring-boot 用于 mongodb.任何示例都会有所帮助.

I checked and found that liquibase is extended for Mongo DB but I cannot see any example of using it with spring-boot, can anyone suggest the way to use liquibase with spring-boot for mongodb. Any example would be helpful.

推荐答案

建议您使用 蒙哥克.它像 liquibase 一样在大多数情况下提供数据迁移.mongock 提供迁移类而不是 liquibase XML 或 JSON.

Suggest you to use NoSQL support data migration library such as mongock. It provide data migration most of time like liquibase. mongock provide migration class instead of liquibase XML or JSON.

这篇关于如何使用 Liquibase-MongoDb-Spring-boot的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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