MigrationOptions
MigrationOptions
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.