Install
openclaw skills install prisma-migrate-guardPreflight Prisma migration state before deploy; fails fast on drift, failed migrations, missing DB URLs, or unapplied migration files.
openclaw skills install prisma-migrate-guardUse this skill before deploys or CI release steps to verify Prisma migrations are healthy and ready to apply.
DATABASE_URL by default)prisma migrate status against a target schemaPRISMA_SCHEMA_PATH (default: prisma/schema.prisma)PRISMA_MIGRATE_DB_URL_ENV (default: DATABASE_URL)PRISMA_MIGRATE_GUARD_ALLOW_UNAPPLIED (1 to warn instead of fail)PRISMA_MIGRATE_GUARD_ALLOW_DRIFT (1 to warn instead of fail)bash scripts/check-prisma-migrate.sh
With explicit schema and env key:
PRISMA_SCHEMA_PATH=apps/api/prisma/schema.prisma \
PRISMA_MIGRATE_DB_URL_ENV=POSTGRES_PRISMA_URL \
bash scripts/check-prisma-migrate.sh
0 on healthy status1 on blocking migration issuesmigrate status), it does not apply migrations.