Refs #16751 EEA; added migration script for old storage of versionIds