Right now i have a PHP project and i track all changes in code by SVN.
I would also like to track changes made in database structure.
Which is the right tool to use ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are different sort of tools to track changes of database structure.
a very good one is mysql Workbench : http://www.mysql.com/products/workbench/
you can modelize your db with this tool to be able to update it with the sychronisation.
An other type of tool that my be perfect for svn : PHP Migrations
http://code.google.com/p/mysql-php-migrations/
With this tool you create different scripts : 001_initial.php 002_changes.php for example.
and when you execute the tool, it will apply the files that were not applied to make your schema up to date.
I Hope this helps you.