Pathfinder 1e for Foundry VTT
    Preparing search index...

    Function migrateWorld

    • Perform a system migration for the entire World, applying migrations for Actors, Items, Scenes, Tokens and Compendium packs

      Parameters

      • Optionaloptions: {
            dialog?: object;
            fast?: boolean;
            server?: boolean;
            state?: MigrationState;
            systemPacks?: boolean;
            unlock?: boolean;
        } = {}

        Additional options

        • Optionaldialog?: object

          Progress dialog options. Set to falsy to disable the dialog.

        • Optionalfast?: boolean

          Skip documents marked as migrated for current version.

        • Optionalserver?: boolean

          Perform server-side migration of packs.

        • Optionalstate?: MigrationState

          Migration state tracker

        • OptionalsystemPacks?: boolean

          Migrate system packs.

        • Optionalunlock?: boolean

          If false, locked compendiums are ignored.

      Returns Promise<void>

      • A Promise which resolves once the migration is completed