add database ddl for data mapper