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

Method applyMigrations

packages/migrate/src/SchemaEngine.ts:12–12  ·  view source on GitHub ↗

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

(input: EngineArgs.ApplyMigrationsInput)

Source from the content-addressed store, hash-verified

10 * This is the command behind prisma migrate deploy.
11 */
12 applyMigrations(input: EngineArgs.ApplyMigrationsInput): Promise<EngineResults.ApplyMigrationsOutput>
13
14 /**
15 * Create the logical database from the Prisma schema.

Callers 5

applyMigrationsMethod · 0.65
parseMethod · 0.65
parseMethod · 0.65
parseMethod · 0.65
rpc.test.tsFile · 0.65

Implementers 2

SchemaEngineCLIpackages/migrate/src/SchemaEngineCLI.t
SchemaEngineWasmpackages/migrate/src/SchemaEngineWasm.

Calls

no outgoing calls

Tested by

no test coverage detected