Interface: VectorMigration
Defined in: src/batteries/vector/migrate.ts:18
A single migration module: a name plus its forward (up) and reverse (down) steps.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
down | (ctx: VectorMigrationContext) => Promise<void> | Reverse the migration. | src/batteries/vector/migrate.ts:24 |
name | string | Unique migration name, used as its ledger key. | src/batteries/vector/migrate.ts:20 |
up | (ctx: VectorMigrationContext) => Promise<void> | Apply the migration. | src/batteries/vector/migrate.ts:22 |