Prisma Safety

JSON →
library 0.0.8 ·javascript
verified Jun 7, 2026

A safe schema change checker for Prisma that catches unsafe database migrations by diffing current and draft schema versions. Current version is 0.0.8, released sporadically. It prevents accidental deletion of models or fields without prior `@@ignore` or `@ignore` annotations. Unlike prisma-lint (single-schema analysis), prisma-safety requires both old and new schemas to compute diffs. Integrates as a CLI tool or GitHub Action step.