MCPcopy
hub / github.com/prisma/prisma / createMigration

Method createMigration

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

* Create the next migration in the migrations history. * If draft is false and there are no unexecutable steps, it will also apply the newly created migration. * Note: This will use the shadow database on the connectors where we need one.

(input: EngineArgs.CreateMigrationInput)

Source from the content-addressed store, hash-verified

22 * Note: This will use the shadow database on the connectors where we need one.
23 */
24 createMigration(input: EngineArgs.CreateMigrationInput): Promise<EngineResults.CreateMigrationOutput>
25
26 /**
27 * Execute a database script directly on the specified live database.

Callers 4

createMigrationMethod · 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