Skip to main content
Version: 4.4

Module: migrations#

Table of contents#

Classes#

Type aliases#

MigrateOptions#

Ƭ MigrateOptions: { from?: string | number ; migrations?: string[] ; to?: string | number ; transaction?: Transaction }

Type declaration:#

NameType
from?string | number
migrations?string[]
to?string | number
transaction?Transaction

Defined in: packages/migrations/src/typings.ts:4


MigrationResult#

Ƭ MigrationResult: { code: string ; diff: string[] ; fileName: string }

Type declaration:#

NameType
codestring
diffstring[]
fileNamestring

Defined in: packages/migrations/src/typings.ts:5


MigrationRow#

Ƭ MigrationRow: { executed_at: Date ; name: string }

Type declaration:#

NameType
executed_atDate
namestring

Defined in: packages/migrations/src/typings.ts:6


Query#

Ƭ Query: string | QueryBuilder | Raw

Defined in: packages/migrations/src/Migration.ts:4


UmzugMigration#

Ƭ UmzugMigration: { file: string ; name?: string ; path?: string }

Type declaration:#

NameType
filestring
name?string
path?string

Defined in: packages/migrations/src/typings.ts:3

Last updated on by Martin Adámek