Skip to main content
Version: 4.5

Interface: MigrationSource<TMigrationSpec>#

knex.Knex.MigrationSource

Type parameters#

Name
TMigrationSpec

Methods#

getMigration#

getMigration(migration: TMigrationSpec): Migration

Parameters:#

NameType
migrationTMigrationSpec

Returns: Migration

Defined in: node_modules/knex/types/index.d.ts:2117


getMigrationName#

getMigrationName(migration: TMigrationSpec): string

Parameters:#

NameType
migrationTMigrationSpec

Returns: string

Defined in: node_modules/knex/types/index.d.ts:2116


getMigrations#

getMigrations(loadExtensions: readonly string[]): Promise<TMigrationSpec[]>

Parameters:#

NameType
loadExtensionsreadonly string[]

Returns: Promise<TMigrationSpec[]>

Defined in: node_modules/knex/types/index.d.ts:2115

Last updated on by Renovate Bot