Question

Do you know a database modeling software whose the file format can safely be tracked by a VCS without always creating conflicts ? (i.e. a non-binary file format.) It would be great if the software worked on Linux and MacOS also.

It would be even better if the file format could be diffed easily.

Edit:

I am currently using MySQL Workbench and am satisfied with it, however its binary file format keeps creating conflicts in the VCS, and using it is a pain because of this.

Was it helpful?

Solution

The only avaiable tool I know is WWW SQL Designer.

OTHER TIPS

I think your question is answered here: MySQL Version Control - Subversion

I use microOLAP for MySQL database design. It's a windows application unfortunately (I'm a Linux+Mac user mysql too), but it works like a charm. It generates XML out of the database schema, so it can safely be imported into any VCS. Otherwise, you can try Dia on Linux as well. It's not as advanced as microOLAP, but it does have limited ER-diagram designing possibilities.

There is Workbench's predecessor, DBDesigner which saves XML files and has Windows and Linux versions.

Alternatively, you could use pre-commit and post-update hooks to convert your Workbench model files before a commit and recreate them after an update and put the non-binary data into version control. However, you would still have to be careful when merging.

  • Pre-commit: Unzip the model file, store the XML and a SQLite dump
  • Post-update: Recreate the SQLite database and generate model file.

You can try the "MySQL Workbench"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top