MCPcopy
hub / github.com/prisma/prisma / devDiagnostic

Method devDiagnostic

packages/migrate/src/SchemaEngineWasm.ts:167–169  ·  view source on GitHub ↗

* The method called at the beginning of migrate dev to decide the course of action, * based on the current state of the workspace. * It acts as a wrapper around diagnoseMigrationHistory. * Its role is to interpret the diagnostic output, * and translate it to a concrete action to be perfo

(input: SchemaEngineInput<'devDiagnostic'>)

Source from the content-addressed store, hash-verified

165 * and translate it to a concrete action to be performed by the CLI.
166 */
167 public devDiagnostic(input: SchemaEngineInput<'devDiagnostic'>): SchemaEngineOutput<'devDiagnostic'> {
168 return this.runCommand('devDiagnostic', input)
169 }
170
171 /**
172 * Read the contents of the migrations directory and the migrations table, and returns their relative statuses.

Callers

nothing calls this directly

Calls 1

runCommandMethod · 0.95

Tested by

no test coverage detected