4

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.

Arnaud Le Blanc
  • 98,321
  • 23
  • 206
  • 194

5 Answers5

2

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

Community
  • 1
  • 1
blueberryfields
  • 45,910
  • 28
  • 89
  • 168
  • Liquibase looks awesome. Unfortunately it seems that the gui has never gone beyond _technology preview_ and is not even available for download – Arnaud Le Blanc Jan 31 '11 at 09:31
1

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.

Friek
  • 1,533
  • 11
  • 13
1

The only avaiable tool I know is WWW SQL Designer.

Arnaud Le Blanc
  • 98,321
  • 23
  • 206
  • 194
Daniel
  • 27,718
  • 20
  • 89
  • 133
1

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.
Arc
  • 11,143
  • 4
  • 52
  • 75
  • Note that I've experienced some crashes with DBDesigner in the past - as I did with Workbench; however, development stopped when Workbench came out. So, save frequently if you decide to use it. – Arc Jan 31 '11 at 08:20
0

You can try the "MySQL Workbench"

VeroLom
  • 3,856
  • 9
  • 34
  • 48