MigrationRunner
Index
Constructors
Methods
Constructors
constructor
Parameters
driver: AbstractSqlDriver<AbstractSqlConnection, AbstractSqlPlatform>
options: MigrationsOptions
config: Configuration<IDatabaseDriver<Connection>, EntityManager<IDatabaseDriver<Connection>>>
Returns MigrationRunner
Methods
run
Parameters
migration: Migration
method: up | down
Returns Promise<void>
setMasterMigration
Parameters
trx: any
Returns void
unsetMasterMigration
Returns void