added database ddl