Catch breaking database changes in every pull request. Zero config, zero cost โ add schema diff checks to your CircleCI pipeline in 60 seconds.
๐ SchemaLens Schema Diff Report
| ๐ข Tables Added | 1 |
| ๐ด Tables Removed | 0 |
| ๐ก Tables Modified | 2 |
| โ ๏ธ Breaking Changes | 1 |
| ๐ Risk Score | 42/100 (Medium) |
Generated Migration
ALTER TABLE users
ADD COLUMN email_verified_at TIMESTAMP;
Generated by SchemaLens CircleCI
Team members can download the full markdown report from the Artifacts tab of any CircleCI build. The report includes:
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 without leaving GitHub.
The full markdown report is attached to every build as a CircleCI artifact. Download it for compliance docs, audits, or offline review.
Set SKIP_NO_SQL_CHANGE: "true" and the job skips entirely when no .sql files were modified โ saving build minutes.
No database connections, no CLI installation, no license key. Just point the job at two SQL files.
Set FAIL_ON_BREAKING: "true" and the build 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, PR comments, and artifact reports. 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 to the repo).
The job compares the schema from your target branch against the schema in the PR. Any drift is surfaced instantly.
Enable POST_PR_COMMENT: "true" and add a GITHUB_TOKEN environment variable. The job posts a formatted summary directly on the pull request.
| Feature | Free Tier | Pro (optional) |
|---|---|---|
| Schema diff summary | โ | โ |
| Breaking change detection | โ | โ |
| Risk score | โ | โ |
| PR comments | โ | โ |
| Artifact reports | โ | โ |
| Smart skip (no SQL changes) | โ | โ |
| Full migration SQL | First 5 lines | โ Complete script |
| Markdown export | โ | โ |
| JSON export | โ | โ |
| Rate limit | 15/min | 30/min |