MigrationOptions

MigrationOptions

MigrationOptions

Package: @vendure/core File: migrate.ts

Configuration for generating a new migration script via generateMigration.

Signature

interface MigrationOptions {
  name: string;
  outputDir?: string;
}

Members

name

property
type:
string
The name of the migration. The resulting migration script will be named {TIMESTAMP}-{name}.ts.

outputDir

property
type:
string
The output directory of the generated migration scripts.