[dbapi] retire repo.entity_metas which was used by the dbapi [applied]