We have a database that persist our metadata and data.
Our metadata is produced buy a dedicated team, using a Web application on the development server, and is a critical part of our application.
Then the customer generates data according to this metadata.
We already version the database schema, and all schema change. The next step is to put our metadata under version control.
Naive solutionA naive solution would be to dump all the metadata, and commit it under version control before generating the corresponding packages. Since it's a dump, it can easily be restored. But there is probably a better way, like an incremental solution (only version diffs).
Text dumpsAnother solution is to export all metadata tables in text format (like XML), and then version those text files. But then you have to find a way to reimport them.
So, is your metadata under version control? Why? How?