# Pastebin WrfGnpds const newEntityRevisionPromise = newRevisionPromise .then((revision) => new RevisionModel({ bbid: entity.bbid, dataId: null, id: revision.get('id') }, otherEntities.map((otherEntity) => ({ bbid: otherEntity.bbid, dataId: otherEntity.dataId, id: revision.get('id') }))).save(null, { method: 'insert', transacting }));