I would like to use liquibase in my spring boot app. My requirement is that I have a dummy schema which is populated with tables every time I change the entity classes. This is done by hibernate's ddl create. There are many identical schemas to the dummy schema with data. I want those schemas to be compared with the dummy schema on update and be synced without affecting my data. How can I achieve this? I could not find a tutorial anywhere. If there is one please do give me the link.
Asked
Active
Viewed 841 times
1 Answers
0
I think this tutorial explains what your are looking for baeldung maven liquibase plugin
In section 5.3 is a description on how you can get a changlog file with differences between two databases.

domenic_K
- 134
- 12
-
I need to compare and update hundreds of schemas. Is there a way to do that in a single run? – Arul Rozario Apr 11 '18 at 12:54