diff --git a/src/module/migrations/002.ts b/src/module/migrations/002.ts index 7901f76..1b1806a 100644 --- a/src/module/migrations/002.ts +++ b/src/module/migrations/002.ts @@ -107,7 +107,6 @@ async function migrateCompendium(compendium: Compendium) { const wasLocked = compendium.locked; await compendium.configure({ locked: false }); - await compendium.migrate({}); const content = await compendium.getContent(); for (const entity of content) { @@ -133,5 +132,6 @@ async function migrateCompendium(compendium: Compendium) { } } + await compendium.migrate({}); await compendium.configure({ locked: wasLocked }); }