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
{{ message }}
Repository navigation
Prisma Schema Validation Error: Deprecated url and directUrl in Datasource (Prisma 7+) #1559
The Prisma schema is failing validation with error P1012, as url and directUrl are no longer supported in schema.prisma for Prisma 7+. These must be moved to prisma.config.ts for proper configuration.
Note: The project's package.json appears to reference an older Prisma version. Do we want to upgrade to Prisma 7+ and proceed with the migration, or stick with the current version (and potentially downgrade if needed)?
Thanks @sahilkhude117 - upgrade to Prisma 7+ is encouraged as opposed to a downgrade. Please feel free to create a PR, and reach out for any help in the process.
Activity
ajile-in commentedon Feb 10, 2026
Thanks @sahilkhude117 - upgrade to Prisma 7+ is encouraged as opposed to a downgrade. Please feel free to create a PR, and reach out for any help in the process.
sahilkhude117 commentedon Feb 12, 2026
yes @ajile-in I am looking into it, thanks for asking.
sahilkhude117 commentedon Feb 17, 2026
Raised PR #1568 for this. @ajile-in could you please review?