ChemPal Documentation - v1.6.0
    Preparing search index...

    A single release-to-release cache migration. One per steps/vX.Y.Z-to-vA.B.C.ts file. from/to must match the filename's versions (the registry enforces this). description is shown to the user in the update prompt. up applies the change to the already-open cache; migrations are forward-only (no down).

    interface Migration {
        from: string;
        to: string;
        description: string;
        up(ctx: MigrationContext): Promise<void>;
    }
    Index

    Methods

    Properties

    Methods

    Properties

    from: string

    Semver the cache is being migrated from, e.g. "1.0.0".

    to: string

    Semver the cache is being migrated to, e.g. "1.0.1".

    description: string

    Short, user-facing summary of what this step changes.