draft database model