er2sql is a script which converts an ER
(Entity-Relationship) diagram, created by dia, to
SQL statements. You can set all data types by
attaching the text-element with the type
definition to the attributes. Keys, foreign keys,
and auto incrementals are supprted.