Framework
MigrationDefinition
Interface: MigrationDefinition
Migration definition provided by user.
Extended by
Properties
| Property | Type | Description |
|---|---|---|
down? | (ctx: MigrationContext) => Promise<void> | Rollback migration function (optional) |
name | string | Unique name for this migration |
up | (ctx: MigrationContext) => Promise<void> | Forward migration function |
