AI Tools & Scripts
Postgres Migration Safety Check
Catch risky PostgreSQL migrations before they lock a table or delete data. Get PASS, REVIEW, or BLOCK with the exact statement, the reason, and a safer approach.
What you get: 1 file · 12.01 KB · ZIP
See purchase optionsProduct description
A migration that runs in a second on your laptop can lock a production table for minutes, or drop data you meant to keep. This skill checks your SQL migration files before they run and tells you which statements are risky, why, and what to do instead.
It returns BLOCK, REVIEW, or PASS for each migration, with the line, the rule, the reason, and a safer pattern. It covers 14 BLOCK rules and 6 REVIEW rules, including dropped tables and columns, indexes built without CONCURRENTLY, table rewrites, foreign keys and NOT NULL added in one step, and transaction problems. It works with plain SQL files, including SQL generated by Prisma and Supabase migrations, and assumes PostgreSQL 12 or newer.
It is a static check of SQL text: it does not connect to your database, so PASS is not a guarantee.
How to use: This is an agent skill: a folder with a SKILL.md file and Python scripts that an AI coding agent such as Claude Code, Cursor, or Codex CLI can run. Unzip it into your agent's skills folder (for Claude Code: ~/.claude/skills/), then ask your agent to check your code. The scripts also run on their own with Python 3.9 or newer, with nothing to install. They read your files only: no network access, and nothing is sent anywhere.
What you get
1 file · 12.01 KB
- postgres-migration-safety-check-1.0.0.zipZIP · 12.01 KB
AI Tools & Scripts
Postgres Migration Safety Check
Catch risky PostgreSQL migrations before they lock a table or delete data. Get PASS, REVIEW, or BLOCK with the exact statement, the reason, and a safer approach.
Included in Getly ProGet Pro
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 12.01 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$5.00



