You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: auto-add "views" preview feature to generated Prisma schema (#2376)
When a ZModel schema contains `view` declarations without an explicit
generator block, the generated Prisma schema now automatically includes
`previewFeatures = ["views"]` in the default generator, preventing the
P1012 validation error during `db push` and `migrate`.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments