first draft of the ddl, still needs indexes