Class PrismaMigrationNeededError

An error thrown by the Prisma API that indicates that applying migrations in dev failed such that a new migration is needed. You can do that by prompting user for a new migration name and passing it to prisma.migration.create.

Hierarchy

  • Error
    • PrismaMigrationNeededError

Constructors

Properties

Constructors

Properties

name: "PrismaMigrationNeededError" = 'PrismaMigrationNeededError'