资 源 简 介
This Project Has Moved!
You can now find this project at http://github.com/davejkiger/mysql-php-migrations. The project will not be deleted from Google Code to retain historical data, however no new updates will be posted here. Additionally, issues posted here will not be addressed.
This project was created to address the problem of maintaining database changes within an actively developed PHP/MySQL project. Frequently, multiple developers need to be able to quickly update their local sandboxes with the latest DB schema changes and also add their own without creating file conflicts in repositories such as CVS and Subversion.
MySQL-PHP-Migrations includes the following features:
* command-line only utility
* migration files are stored using timestamps to reduce repository conflicts
* ability to list, migrate up, migrate down, run a specific migration, and migrate to latest database version
* each migration is wrapped in a transaction to ease error recov