Liquibase Diff Tool missing constraints

瘦欲@ 提交于 2019-12-11 06:38:31

问题


We are using with my company Liquibase's diff tool to check schema relevancy of our clients MySQL and Oracle databases automatically via jUNIT tests. For that point Liquibase is great.

Our problem is that Liquibase seems to "miss" some Foreign Key renaming where other tools like SQL examiner or RedGate MySQL compare seem to find all the foreign key naming differences.

This feature is very important for us whereas we need to keep exact schema consistency for maintenance operations (DROP foreign_key, etc.)

Is there a way to put an option to Diff.compare() method in java to show this kind of inconstancies ?

final Diff locResultDiff = new Diff(_referenceDatabase, _cibleDatabase);
_diffResult = locResultDiff.compare();

Or can someone propose other solutions to make these tasks ?

来源:https://stackoverflow.com/questions/16166864/liquibase-diff-tool-missing-constraints

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