prorm API Reference
    Preparing search index...

    Interface RunSeedersOptions

    Options accepted by SeederRunner#runSeeders

    interface RunSeedersOptions {
        only?: string;
        env?: string;
        force?: boolean;
    }
    Index
    only?: string

    When set, only the seeder with this name (basename without extension) is considered, instead of every pending seeder. Still respects the "already executed" idempotency check unless force is set.

    env?: string

    When set, seeders whose env field is defined and does not include this value are skipped (left pending, not recorded as executed). Seeders with no env field always run.

    force?: boolean

    Re-run a seeder even if it's already recorded as executed. Only takes effect together with only, to avoid accidentally re-seeding everything.