有没有一种方法可以将sql查询转换为liquibase changelog格式?

时间:2018-11-12 16:21:42

标签: java sql spring-data-jpa liquibase liquibase-hibernate

我想知道是否可以将现有的sql脚本转换为liquibase的变更日志的xml格式?

谢谢。

1 个答案:

答案 0 :(得分:2)

You could use a detour via a database. Apply your script to a database of choice (that is supported by liquibase). Then use generateChangeLog to generate the changelogs in xml from the database.

相关问题