Complete database model