I’m trying to write a diff script for liquibase to compare two databases and then create a changelog. The databases both contain tables for phpBB forums. However when I run the diff query it treats the reference table as empty. I can tell this because it’s full of createTable changes for tables that already exist.
Is there something I’m doing wrong in my code below (line breaks added to improve readability) ?
java -jar liquibase/liquibase.jar
generateChangeLog
The ‘development_forum’ is the one that I work on locally to test things out, such as MODs and updates. The final_forum is the one thats had finalised builds pushed to it, so is ideally the one that needs to be updated. However as mentioned above the changelog I get back is full of CREATE commands rather than ALTER commands.
It all seems to run fine, it’s just the output I’m having issues with.