Skip to main content

Type Alias: RunOptions

RunOptions = object

Defined in: migrations/runner.ts:59

Properties

allowUnbaselined?

optional allowUnbaselined?: boolean

Defined in: migrations/runner.ts:69

Run against a populated database whose ledger is empty, which the runner otherwise refuses — see applyPending. The caller is asserting that these migrations have genuinely never run against it.


args?

optional args?: MigrationArgs

Defined in: migrations/runner.ts:63


dryRun?

optional dryRun?: boolean

Defined in: migrations/runner.ts:62


names?

optional names?: string[]

Defined in: migrations/runner.ts:61

Only these, in declaration order. Omitted, every pending migration runs.