Add unique index of (object id, object type, version number)
Add DOI dao