Tedia2sql
From MapbenderWiki
[edit]
Description
It is a tool that allows you to create a database ERD in Dia (using the UML shape toolset), then to convert that ERD into a SQL DDL script for multiple databases. Licensed under GNU General Public License.
[edit]
Installation
apt-get install tedia2sql
Is just a Perl script, located here: /usr/bin/tedia2sql
[edit]

