Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle database changes made by automatic update script while using Liquibase?

I'm developing a web application that also use Wordpress as part of it. I want to use Liquibase to track my database changes.

How to handle database changes made by automatic update script of Wordpress?

Can I just ignore them? and put only my own changes in Liquibase changelog file?

like image 826
User Avatar asked Apr 13 '26 02:04

User


1 Answers

You could do a diffChangelog of the schemas after each WordPress upgrade so that Liquibase could keep track of the changes. You can just ignore them though - Liquibase doesn't really care about unknown schema objects. The only issue would be if your changes and the WordPress changes conflicted.

like image 69
SteveDonie Avatar answered Apr 16 '26 01:04

SteveDonie