Search code examples
databaseversion-controlupdatesauto-update

Advice needed : database update to rest of team


Wanted to get your opinions.

When working in a team and using a version control system, at some point one developer will commit code that depends on new modifications that he made to his local database.

Well, once the other team members update the code, their local db is not ready for it.

Is there a nice way to handle this ?

Thanks.


Solution

  • What's your development platform?

    Some web frameworks have 'database migration' features for this purpose, e.g:

    1. Rails migrations
    2. CodeIgniter migration class
    3. FuelPHP migrations
    4. Yii Framework database migration