Skip to main content
Version: 5.3

@mikro-orm/migrations

Index

Type Aliases

MigrateOptions

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

Type declaration

  • optionalfrom?: string | number
  • optionalmigrations?: string[]
  • optionalto?: string | number
  • optionaltransaction?: Transaction

MigrationResult

MigrationResult: { code: string; diff: MigrationDiff; fileName: string }

Type declaration

MigrationRow

MigrationRow: { executed_at: Date; name: string }

Type declaration

  • executed_at: Date
  • name: string

Query

Query: string | Knex.QueryBuilder | Knex.Raw

UmzugMigration

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

Type declaration

  • name: string
  • optionalpath?: string