Creates a PGlite adapter than can be used with the PrismaClient constructor. This will create a
new PGlite database on your file system, if one does not already exist, and push your schema to
it (similar to prisma db push). This cannot, however, push new migrations to an existing
PGlite database (as prisma db push does with a normal Postgres database).
Requires Prisma v7 or later, where driver adapters are enabled by default (no preview feature is
required).
Creates a PGlite adapter than can be used with the
PrismaClientconstructor. This will create a new PGlite database on your file system, if one does not already exist, and push your schema to it (similar toprisma db push). This cannot, however, push new migrations to an existing PGlite database (asprisma db pushdoes with a normal Postgres database).Requires Prisma v7 or later, where driver adapters are enabled by default (no preview feature is required).