GenerateMigration

generateMigration

generateMigration

Package: @vendure/core File: migrate.ts

Generates a new migration file based on any schema changes (e.g. adding or removing CustomFields). See TypeORM migration docs for more information about the underlying migration mechanism.

Signature

function generateMigration(userConfig: Partial<VendureConfig>, options: MigrationOptions): void

Parameters

userConfig

parameter
type:
Partial<VendureConfig>

options

parameter