Compare SQL files to generate incremental SQL files

there are two versions of the SQL file:

Project contains springBoot+gradle+jpa.

I looked at Liquibase, before and found that it can only compare the differences between two databases and then generate SQL.

the answer to the question: remote collaborative development (Java Spring environment) hydra1983 can be seen as an implementation of generating SQl incremental files through Liquibase comparison of database differences.

but it feels a bit too heavyweight to use this way to initialize the database first. I don"t know if there is any other way or tool to compare the two versions of Agile b and generate a new incremental SQL script file.

Feb.05,2022

did the author solve the problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e189-2b74c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e189-2b74c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?