MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / createMigrator

Function createMigrator

packages/core/fumadb/src/index.ts:142–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 },
141
142 createMigrator() {
143 if (!adapter.createMigrationEngine)
144 throw new Error("The adapter doesn't support migration engine.");
145
146 return adapter.createMigrationEngine.call(adapterContext);
147 },
148
149 get abstract() {
150 return this.orm(schemas.at(-1)!.version) as any;

Callers

nothing calls this directly

Calls 1

callMethod · 0.80

Tested by

no test coverage detected