Catch breaking database changes in every pull request. Zero config, zero cost โ add schema diff checks to your CI/CD pipeline in 60 seconds.
๐ SchemaLens Schema Diff (Free Tier)
Risk: Medium (42/100) | Breaking changes: 1
ALTER TABLE users
ADD COLUMN email_verified_at TIMESTAMP;
-- ... 12 total migration lines.
12 total migration lines. Unlock full migration with SchemaLens Pro
Generated by SchemaLens GitHub Action
We use the SchemaLens GitHub Action on this very repository. Every time we update the demo schema files, the action runs and posts a diff summary.
Open a pull request that changes demo/schema-v2.sql to see the PR comment in action.
Breaking changes like dropped columns, removed indexes, or altered constraints get flagged before merge โ not after deploy.
Every pull request gets a clear schema diff summary posted as a comment. Reviewers see exactly what changed.
No database connections, no CLI installation, no license key. Just point the action at two SQL files.
Set fail-on-breaking: true and the workflow fails if any dangerous schema changes are detected.
Each diff gets a 0-100 risk score. High-risk migrations get extra scrutiny in code review.
The free tier includes breaking change detection, risk scoring, and PR comments. No credit card required.
Export your database schema to a SQL file as part of your workflow (e.g., pg_dump --schema-only or commit your schema file).
The action compares the schema from your base branch against the schema in the PR. Any drift is surfaced instantly.
Enable post-comment: true and the action posts a formatted summary directly on the pull request.
| Feature | Free Tier | Pro (optional) |
|---|---|---|
| Schema diff summary | โ | โ |
| Breaking change detection | โ | โ |
| Risk score | โ | โ |
| PR comments | โ | โ |
| Full migration SQL | First 5 lines | โ Complete script |
| Markdown export | โ | โ |
| JSON export | โ | โ |
| Rate limit | 15/min | 30/min |