title: Is there a standard for sharing database SQL changes in a development group?
body: <p>I am curious if there is a standard or open-source application that allows a small team of developers to share MySQL database update/modification scripts?</p>
  
  <p>Right now all the developers have a VM with their own instance of a database, so there are no conflicts and each can have separate development environment. When one makes a DB change we add the SQL scripts to a SQL text file in SVN, which is then run by each dev in their own environment when necessary. </p>
  
  <p>The issue that we are having is that when someone updates the file, the others run the script, and then we add additional changes. It gets very confusing and we get errors if there are ALTER table statements, etc.</p>
  
  <p>We don't want to use DB replication because if one dev destroys their DB we don't want the others to be affected.</p>
  
  <p>We use ExpressionEngine and I've noticed they use PHP to check/validate SQL updates, is that the direction we will need to go?</p>
  
  <p>Anyone else deal with this issue? If so, what did you end up using?</p>