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

Method createMigration

packages/migrate/src/SchemaEngineWasm.ts:139–141  ·  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: SchemaEngineInput<'createMigration'>)

Source from the content-addressed store, hash-verified

137 * Note: This will use the shadow database on the connectors where we need one.
138 */
139 public createMigration(input: SchemaEngineInput<'createMigration'>): SchemaEngineOutput<'createMigration'> {
140 return this.runCommand('createMigration', input)
141 }
142
143 /**
144 * Execute a database script directly on the specified live database.

Callers

nothing calls this directly

Calls 1

runCommandMethod · 0.95

Tested by

no test coverage detected