MigrationStorage
Implements
- UmzugStorage
Index
Constructors
constructor
Parameters
driver: AbstractSqlDriver<AbstractSqlConnection, AbstractSqlPlatform>
options: MigrationsOptions
Returns MigrationStorage
Methods
ensureTable
Returns Promise<void>
executed
Returns Promise<string[]>
getExecutedMigrations
Returns Promise<MigrationRow[]>
logMigration
Logs migration to be considered as executed.
Parameters
params: MigrationParams<any>
Returns Promise<void>
setMasterMigration
Parameters
trx: any
Returns void
unlogMigration
Unlogs migration (makes it to be considered as pending).
Parameters
params: MigrationParams<any>
Returns Promise<void>
unsetMasterMigration
Returns void
Gets list of executed migrations.