Find the difference between fromTable
& toTable
database,and generate the sql to make fromTable
same as toTable
SAFELY
When the project need to deploy to the producing environment from test/dev environment, this tool can be used to ensure the database in produce same as the one in test/dev. And, we don't need to accelerate the modify sql any more!
- use
Navicat
Software to export the database structure. - After the first step, you get two
.sql
file. One is the sql file exported from the database NEED TO CHANGE(calledfromTable
), another is exported from the database ** HAS THE STRUCTURE YOU WANT **(calledtoTable
) - Put such two files into
resources/sqlDir
- Finally, refer to the
demoFromFile
ofDemo.java
- Finally, refer to the
demoFromUrl
ofDemo.java
- Email: [email protected]
- BSD