prisma-pglite - v3.0.0
    Preparing search index...

    Function createPgliteMigration

    • Create a dev migration using Prisma with a PGlite database. This is analogous to running prisma migrate dev with a plain Postgres database.

      The new migration is computed by replaying the existing migration history into a throwaway PGlite database (the "shadow" database) and diffing it against your schema. No snapshot files are needed and the Prisma CLI is not invoked.

      Parameters

      Returns Promise<PgliteMigration | undefined>

      PgliteMigration If the migration was created, otherwise undefined.