Prisma workflow study

Every tested local schema workflow passed.

Two agent models completed all 18 isolated Prisma journeys.

18/18journeys passed
gpt-6-luna: 9 passed / 9 retaineddeepseek-v4.1-flash: 9 passed / 9 retained

What the agents had to do

One task, three starting conditions, six checks in every journey.

  1. Discover and prepareAll retained trials passed
  2. Read and selectAll retained trials passed
  3. Preview and changeAll retained trials passed
  4. Verify the resultAll retained trials passed
  5. Replay safelyAll retained trials passed
  6. Recover and clean upAll retained trials passed
Scenario
gpt-6-luna
deepseek-v4.1-flash
Change

Make a schema change

Add Article.published, migrate, generate, and verify.

3/3
Trial 1: passTrial 2: passTrial 3: pass
3/3
Trial 1: passTrial 2: passTrial 3: pass
Select

Choose the right database

Ignore a lookalike archive and modify only the named target.

3/3
Trial 1: passTrial 2: passTrial 3: pass
3/3
Trial 1: passTrial 2: passTrial 3: pass
Recover

Repair a broken schema

Remove a planted fault without damaging either database.

3/3
Trial 1: passTrial 2: passTrial 3: pass
3/3
Trial 1: passTrial 2: passTrial 3: pass

Use this result narrowly.

It proves this local SQLite workflow, not Prisma as a whole.

SupportedLocal SQLite

Migration, target selection, replay, and schema recovery.

Not testedHosted and complex setups

Postgres, Studio, production data, and multi-schema workspaces.

The outcome passed. The path was uneven.

Retained commands reveal one concrete documentation seam.

10wrong import attemptsacross 6 successful journeys
triedPrismaBetterSQLite3
workedPrismaBetterSqlite3
Recommended actionPut the exact import beside generated-client setup.

Show the import and constructor together in one copyable SQLite example.

gpt-6-luna27median commands
deepseek-v4.1-flash60median commands

Model-specific efficiency signal. Not a CLI quality score.

Evidence rules

Models are scored separately. Invalid or blocked trials stay incomplete.

Trials
3 per model and scenario
Controls
18 validated
Workspace
Fresh and isolated
Verification
Database state checked separately
Protocol and limitations

Local SQLite only. Does not cover Prisma Postgres, hosted migrate, Prisma Studio, or multi-schema workspaces.

Protocol prisma-opencode-study@1. Captured Sep 26, 2026.

Historical diagnostics

Separate interface checks and one-command tasks. They are not averaged into workflow outcomes. No letter grade or overall CLI rank is assigned.

Historical readiness82/100Deterministic interface evidence.
Historical cold task3/3Never protocol points or workflow results.