@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface MigrationSteps

    What the upload API takes: one object whose steps apply in order after old_tag.

    A wrangler config lists tagged migrations instead, and toMigrationSteps converts one to the other, as wrangler does. The API refuses a list with a "cannot unmarshal array" error.

    interface MigrationSteps {
        new_tag: string;
        old_tag?: string;
        steps: Omit<Migration, "tag" | "old_tag" | "new_tag">[];
    }
    Index
    new_tag: string
    old_tag?: string
    steps: Omit<Migration, "tag" | "old_tag" | "new_tag">[]