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