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'
|
import { defineConfig } from 'prisma/config'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
schema: {
|
schema: 'prisma/schema.prisma',
|
||||||
kind: 'single',
|
|
||||||
filePath: 'prisma/schema.prisma',
|
|
||||||
},
|
|
||||||
studio: {
|
studio: {
|
||||||
adapter: async () => {
|
adapter: async () => {
|
||||||
const { PrismaBetterSqlite3 } = await import('@prisma/adapter-better-sqlite3')
|
const { PrismaBetterSqlite3 } = await import('@prisma/adapter-better-sqlite3')
|
||||||
|
|||||||
Reference in New Issue
Block a user