MCPcopy
hub / github.com/prisma/prisma / evaluateDataLoss

Method evaluateDataLoss

packages/migrate/src/SchemaEngineWasm.ts:193–195  ·  view source on GitHub ↗

* Development command for migrations. * Evaluate the data loss induced by the next migration the engine would generate on the main database.

(input: SchemaEngineInput<'evaluateDataLoss'>)

Source from the content-addressed store, hash-verified

191 * Evaluate the data loss induced by the next migration the engine would generate on the main database.
192 */
193 public evaluateDataLoss(input: SchemaEngineInput<'evaluateDataLoss'>): SchemaEngineOutput<'evaluateDataLoss'> {
194 return this.runCommand('evaluateDataLoss', input)
195 }
196
197 /**
198 * Get the database version for error reporting.

Callers

nothing calls this directly

Calls 1

runCommandMethod · 0.95

Tested by

no test coverage detected