Skip to main content

MigrationOptions

Configuration for generating a new migration script via generateMigration.

Signature

name

propertystring

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

outputDir

propertystring

The output directory of the generated migration scripts.

Was this chapter helpful?
Report Issue
Edited Feb 10, 2026ยทEdit this page