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

Function logMigration

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

* @inheritDoc

(name: string)

Source from the content-addressed store, hash-verified

396 * @inheritDoc
397 */
398 async logMigration(name: string): Promise<void> {
399 await this.init();
400 await this.storage.ensureTable?.();
401 await this.storage.logMigration({ name });
402 }
403
404 /**
405 * @inheritDoc

Callers

nothing calls this directly

Calls 3

initMethod · 0.65
ensureTableMethod · 0.65
logMigrationMethod · 0.65

Tested by

no test coverage detected