Skip to content

migration-model: migration new refuses a db ref on an empty graph - #30391

Merged
wmadden merged 1 commit into
mainfrom
migration-new-empty-graph-note
Sep 24, 2026
Merged

wmadden merged 1 commit into
mainfrom
migration-new-empty-graph-note

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Follow-up to prisma/orm#30389, which entered the merge queue before this line could land.

The migration-model reference said migration new picks its origin "the same way" as migration plan. That implied it accepts a db ref on an empty graph. It does not: migration plan writes the baseline for that ref, while migration new refuses with MIGRATION.HASH_NOT_IN_GRAPH and tells you to run migration plan first. The paragraph now states that difference.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner September 24, 2026 13:04
@pkg-pr-new

pkg-pr-new Bot commented Sep 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/@prisma/orm-extension-arktype-json@30391

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/@prisma/orm-extension-middleware-cache@30391

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/@prisma/orm-extension-paradedb@30391

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/@prisma/orm-extension-pgvector@30391

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/@prisma/orm-extension-postgis@30391

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/@prisma/orm-extension-supabase@30391

@prisma/orm-family-mongo

npm i https://pkg.pr.new/@prisma/orm-family-mongo@30391

@prisma/orm-family-sql

npm i https://pkg.pr.new/@prisma/orm-family-sql@30391

@prisma/orm-framework

npm i https://pkg.pr.new/@prisma/orm-framework@30391

@prisma/orm-mongo

npm i https://pkg.pr.new/@prisma/orm-mongo@30391

@prisma/orm-postgres

npm i https://pkg.pr.new/@prisma/orm-postgres@30391

@prisma/orm-sqlite

npm i https://pkg.pr.new/@prisma/orm-sqlite@30391

@prisma/orm-target-mongo

npm i https://pkg.pr.new/@prisma/orm-target-mongo@30391

@prisma/orm-target-postgres

npm i https://pkg.pr.new/@prisma/orm-target-postgres@30391

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/@prisma/orm-target-sqlite@30391

@prisma/orm-toolchain

npm i https://pkg.pr.new/@prisma/orm-toolchain@30391

commit: 70c6795

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 194.93 KB (0%)
postgres / emit 165.57 KB (0%)
mongo / no-emit 110.57 KB (0%)
mongo / emit 92.12 KB (0%)
cf-worker / no-emit 218.06 KB (0%)
cf-worker / emit 185.58 KB (0%)

@wmadden
wmadden disabled auto-merge September 24, 2026 13:34
@wmadden
wmadden merged commit b5d6aee into main Sep 24, 2026
25 checks passed
@wmadden
wmadden deleted the migration-new-empty-graph-note branch September 24, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants