I have little experience using SVN in my development projects, and I have the same little experience working with relational databases. I know basic concepts such as tables and SQL statements, but I am far from being an expert.
What I would like to know is if there are general version control systems, such as SVN, but they work with the database, not with the files. I would like the same functions that SVN have to do with the ability to create branches, create tags and merge branches together. Instead of the version number associated with the file repository version, it will be associated with the database version.
Are their universal solutions available that can add this functionality regardless of the actual database schema? I would be interested in solutions that work with MySQL or MS SQL Server.
I should also clarify that I am trying to control data versions, not a schema. I would expect the circuit to remain constant. So it really seems that I want to create a log of all the INSERT, UPDATE and DELETE queries that sent the database between each version of the data. Thus, any version can be recreated by resubmitting all SQL statements that have been saved to the desired version.
source share