MCPcopy
hub / github.com/prisma/prisma / createDatabase

Method createDatabase

packages/migrate/src/SchemaEngineCLI.ts:112–114  ·  view source on GitHub ↗

* Create the logical database from the Prisma schema.

(args: EngineArgs.CreateDatabaseInput)

Source from the content-addressed store, hash-verified

110 * Create the logical database from the Prisma schema.
111 */
112 public createDatabase(args: EngineArgs.CreateDatabaseInput): Promise<EngineResults.CreateDatabaseOutput> {
113 return this.runCommand(this.getRPCPayload('createDatabase', args))
114 }
115
116 /**
117 * Create the next migration in the migrations history.

Callers

nothing calls this directly

Calls 2

runCommandMethod · 0.95
getRPCPayloadMethod · 0.95

Tested by

no test coverage detected