db entities DDL