Skip to content

Commit

Permalink
DRIVER_ADAPTERS_BRANCH=fix/pg-esm use ESM import rather than CJS require
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Nov 16, 2023
1 parent 2b1bbe1 commit 5163ffd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { PrismaLibSQL } from '@prisma/adapter-libsql'

// planetscale dependencies
import { PrismaPlanetScale } from '@prisma/adapter-planetscale'
const PlanetscaleClient = require('@planetscale/database')
import PlanetscaleClient from '@planetscale/database'

import {bindAdapter, DriverAdapter, ErrorCapturingDriverAdapter} from "@prisma/driver-adapter-utils";

Expand Down

0 comments on commit 5163ffd

Please sign in to comment.