adding the Datomic database's history function on the diametric peer