Update Prisma to v7 and add better-sqlite3 adapter
Upgraded Prisma and related dependencies to version 7.0.1 and added @prisma/adapter-better-sqlite3 and better-sqlite3 to support the new adapter. This enables improved SQLite integration and compatibility with the latest Prisma features.
This commit is contained in:
1031
package-lock.json
generated
1031
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -2,10 +2,7 @@ import 'dotenv/config'
|
||||
import { defineConfig } from 'prisma/config'
|
||||
|
||||
export default defineConfig({
|
||||
schema: {
|
||||
kind: 'single',
|
||||
filePath: 'prisma/schema.prisma',
|
||||
},
|
||||
schema: 'prisma/schema.prisma',
|
||||
studio: {
|
||||
adapter: async () => {
|
||||
const { PrismaBetterSqlite3 } = await import('@prisma/adapter-better-sqlite3')
|
||||
|
||||
Reference in New Issue
Block a user