MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / unlogMigration

Function unlogMigration

packages/core/src/utils/AbstractMigrator.ts:407–411  ·  view source on GitHub ↗

* @inheritDoc

(name: string)

Source from the content-addressed store, hash-verified

405 * @inheritDoc
406 */
407 async unlogMigration(name: string): Promise<void> {
408 await this.init();
409 await this.storage.ensureTable?.();
410 await this.storage.unlogMigration({ name });
411 }
412
413 protected async init(): Promise<void> {
414 if (this.initialized) {

Callers

nothing calls this directly

Calls 3

initMethod · 0.65
ensureTableMethod · 0.65
unlogMigrationMethod · 0.65

Tested by

no test coverage detected