prisma-migrate-squash
Pass
Audited by Gen Agent Trust Hub on Mar 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill executes file system operations using
find,rm,mkdir, andtouchto manage migration directories. These commands are specifically scoped to the./prisma/migrationsfolder and are necessary for removing old migration history as part of the squashing process. - [COMMAND_EXECUTION]: Utilizes
npx prisma migrate diffandnpx prisma migrate resolveto generate new migration files and mark them as applied. This is the standard, vendor-recommended approach for managing Prisma migrations. - [COMMAND_EXECUTION]: Suggests executing a SQL
DELETEoperation on the_prisma_migrationstable for development environments. This is a standard procedure to reset migration tracking when migration files have been manually modified or removed. - [EXTERNAL_DOWNLOADS]: The skill uses
npxto run theprismaCLI tool, which may involve downloading the package from the official npm registry. Prisma is a well-known and trusted developer tool.
Audit Metadata