We built SSDO to catch the schema and migration traps that pass code review and cause outages or data loss on production Postgres tables:
Version-aware production lock checks (--pg-version): Flags CREATE INDEX without CONCURRENTLY, ADD CONSTRAINT FOREIGN KEY without NOT VALID, and table-rewriting ALTER COLUMN TYPE / volatile ADD COLUMN DEFAULT—while recognizing PG11+ constant defaults, VARCHAR(M) -> VARCHAR(N) widening, and VARCHAR -> TEXT as zero-rewrite safe.
Referential & RLS integrity: Flags ON DELETE CASCADE on billing/audit/credential history, ON DELETE SET NULL paired with NOT NULL, FK-to-PK type/width drift, USING (true) RLS policies, views missing security_invoker = true, and SECURITY DEFINER functions missing SET search_path = ''.
Live 2-Folder Node Diff & Blast-Radius Sim: Compare two local migration/model folders (.sql, Prisma, Drizzle .ts, SQLAlchemy, Django) visually in the browser with zero DB credentials.
Free browser sandboxes (no signup, zero rows read):
Schema IDE & 2-Folder Diff: https://solunex-ssdo.tech/ide
Interactive CLI Sandbox: https://solunex-ssdo.tech/cli
Let me know if there are other Postgres lock or migration footguns you'd want flagged in CI!
Top comments (0)