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

Method applyMigrations

packages/migrate/src/SchemaEngineWasm.ts:130–132  ·  view source on GitHub ↗

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

(input: SchemaEngineInput<'applyMigrations'>)

Source from the content-addressed store, hash-verified

128 * This is the command behind prisma migrate deploy.
129 */
130 public applyMigrations(input: SchemaEngineInput<'applyMigrations'>): SchemaEngineOutput<'applyMigrations'> {
131 return this.runCommand('applyMigrations', input)
132 }
133
134 /**
135 * Create the next migration in the migrations history.

Callers

nothing calls this directly

Calls 1

runCommandMethod · 0.95

Tested by

no test coverage detected