Comment organiser le versionning mysql
Bonjour,
Je travail actuellement sur un projet php/mysql avec un ami.
Pour l'instant on fonctionne de cette manière:
Un dépot GIT pour le php
Une base de données commune pour éviter de se retrouver avec plusieurs versions.
Le problème est qu'on voudrait mettre une version en ligne. On va donc copier la base et créer un nouveau dépot git qui sera lié au premier.
Le probleme étant qu'à l'avenir on ne pourra plus faire de copie de la base car celle en ligne contiendra des informations plus récente que la version de travail.
On pense faire un fichier du type maj.sql ou l'on mettra l'ensemble des modifications de table mais c'est assez lourd comme fonctionnement et on risque de perdre quelque modif en route et ainsi faire planter la version en ligne.
J'ai beau chercher je ne trouve pas de solution. Connaissez-vous un système de versioning de type svn ou git pour les bases de données? Sinon, avez vous des astuces pour régler le problème?
Merci d'avance