Documentation
    Preparing search index...

    Interface SceneMigrationContext

    What a migration step is told about the link it is performing (§80).

    interface SceneMigrationContext {
        fromVersion: number;
        toVersion: number;
        warn(message: string): void;
    }
    Index
    fromVersion: number

    The version of the document handed to the step.

    toVersion: number

    The version the step's result is stamped with — always fromVersion + 1.