adding ddl-scripts for both mysql and postgresql.  ddlscripts modified based on https://bugzilla.redhat.com/show_bug.cgi?id=1076696