The Prisma CLI does not (yet) support initializing a PGlite database. Instead, this function uses
the Prisma CLI to dump a single SQL script which can then be loaded by a PGlite instance to setup
the database to match the given schema.
This currently only supports initializing a database from nothing. Meaning, this cannot be used
to apply new migrations to an existing PGlite instance.
The Prisma CLI does not (yet) support initializing a PGlite database. Instead, this function uses the Prisma CLI to dump a single SQL script which can then be loaded by a PGlite instance to setup the database to match the given schema.
This currently only supports initializing a database from nothing. Meaning, this cannot be used to apply new migrations to an existing PGlite instance.