did models and db