if(!versionedData.data)returnPromise.reject(newError('Migrator - Migration returned empty data'))
if(migration.version!==undefined&&versionedData.meta.version!==migration.version)returnPromise.reject(newError('Migrator - Migration did not update version number correctly'))