-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix: downgrade the driver of sqlite and mariadb to 6.18.0 (#32) #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -105,7 +105,11 @@ function createAdapter(config: ZModelConfig, zmodelSchemaDir: string): any { | |||||
| resolvedUrl = `file:${resolveSQLitePath(filePath, prismaSchemaDir)}` | ||||||
| } | ||||||
| } | ||||||
| const { PrismaBetterSQLite3 } = require('@prisma/adapter-better-sqlite3') | ||||||
| const _mod = require('@prisma/adapter-better-sqlite3') | ||||||
| //Prisma7 renamed PrismaBetterSqlite3 from PrismaBetterSQLite3, support both cases for compatibility | ||||||
|
||||||
| //Prisma7 renamed PrismaBetterSqlite3 from PrismaBetterSQLite3, support both cases for compatibility | |
| // Prisma 7 renamed PrismaBetterSQLite3 to PrismaBetterSqlite3; support both for compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR title/description says “downgrade … to 6.18.0”, but using a caret range ("^6.18.0") still allows pnpm to resolve newer 6.x versions (the lockfile currently resolves 6.19.2). If the intent is to pin specifically to 6.18.0, change the specifier to an exact version (or at least "~6.18.0") and regenerate the lockfile accordingly; otherwise consider updating the PR description/title to reflect that this is a major downgrade to 6.x, not specifically 6.18.0.