PrismaGuard
JSON →Static analysis tool for Prisma SQL migrations that detects dangerous database operations before deployment. Version 0.3.2 analyzes migration SQL files, parses them into an AST, and applies rules to catch destructive column drops, type changes with write locks, missing indexes on foreign keys, non-concurrent index creation, and other common footguns. Unlike manual review or general SQL linters, PrismaGuard is purpose-built for Prisma's migration format and encodes database reliability patterns. Ships TypeScript types and requires Node.js 20+. Release cadence is monthly.
Resources
packageprismaguards ↗