Skip to main content

GenerateMigration

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): Promise<string | undefined>

Parameters

userConfig

parameterPartial<VendureConfig>

options

Was this chapter helpful?
Report Issue
Edited Feb 4, 2026·Edit this page