Databases: Database structure synchronizer
shadower (contact me)
This class can be used to compare two MySQL database table structures to generate SQL statements to update one to become another.
It can compare the table creation SQL statements of two MySQL databases as outputted for instance by the mysqldump command.
The class determines what changed from one database to the other and generates schema alteration SQL statements to create, drop and alter tables that should be applied to one database to make it have the same schema of the other.
Click here for detailed information about this class on phpclasses.org