I'm working on a project using git for version handling. What is the best approach to include the database in the cvs?

For example, if I checkout the database and install it at home, make some changes and check it in, I would like the changes I've made to be merged into the database. And I would like to be able to rollback these changes.

link|improve this question
That depends on the database. – surfasb Jan 18 at 20:25
feedback

1 Answer

With the projects I've seen and the databases I've managed, usually the best way to do this is to script the scheme and then include the scheme with the commit along with a script of the changes you make. That also makes it rather easy to compare changes.

Also look here:

http://stackoverflow.com/questions/173/how-do-i-version-my-ms-sql-database-in-svn

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.