MCPcopy
hub / github.com/prisma/prisma / applyMigrations

Method applyMigrations

packages/migrate/src/SchemaEngineCLI.ts:105–107  ·  view source on GitHub ↗

* Apply the migrations from the migrations directory to the database. * This is the command behind prisma migrate deploy.

(args: EngineArgs.ApplyMigrationsInput)

Source from the content-addressed store, hash-verified

103 * This is the command behind prisma migrate deploy.
104 */
105 public applyMigrations(args: EngineArgs.ApplyMigrationsInput): Promise<EngineResults.ApplyMigrationsOutput> {
106 return this.runCommand(this.getRPCPayload('applyMigrations', args))
107 }
108
109 /**
110 * Create the logical database from the Prisma schema.

Callers

nothing calls this directly

Calls 2

runCommandMethod · 0.95
getRPCPayloadMethod · 0.95

Tested by

no test coverage detected