October 2009
Very Unfinfished
Create the ERD
Use Dia with UML according to the and tedia2sql manual.
Convert the ERD to SQL DDL
tedia2sql -t postgres -C -f -i database.dia -o createdb.sql