Skip to content
1 min read · 108 words

@nhtio/adk/batteries/vector/migrate

Knex-style migration runner for the vector battery.

Classes

ClassDescription
VectorMigratorKnex-style migration runner: applies pending migrations forward and rolls the last one back.

Interfaces

InterfaceDescription
MigrationLedgerPersistence for which migrations have run; backed by a store-provided implementation.
VectorMigrateOptionsConstruction options for a VectorMigrator.
VectorMigrationA single migration module: a name plus its forward (up) and reverse (down) steps.
VectorMigrationContextThe context passed to each migration's up/down — exposes the schema builder.