Generate a workflow that compares your database schema on every pull request. Catches breaking changes before they become production incidents.
Dropped columns, removed indexes, and altered constraints fail the check before they reach production.
Reviewers see the diff summary directly in the pull request — no external dashboards needed.
A real status check with risk score, migration preview, and a clear pass/fail conclusion.
The job only runs when .sql files change, so unrelated PRs don't waste Actions minutes.
The wizard auto-detects SQL files from your public GitHub repo and selects the right dialect for your GitHub Actions pipeline.
Paste it into .github/workflows/schema-diff.yml at the root of your repo. Adjust SCHEMA_PATH if your schema lives elsewhere.
SchemaLens compares the target branch schema against your branch and posts the result as a PR comment.
🔍 SchemaLens Schema Diff Report