Migration Safety Score Badge

Embed a live shield in your README or PR that tells everyone how safe your database migration is — at a glance.

1. Set your score

Use the slider or paste a SchemaLens diff URL. The badge color updates automatically.

0 — Risky 85 100 — Safe

2. Preview

Migration Safety Score badge

3. Copy to README

[![Migration Safety Score](https://schemalens.tech/api/migration-safety-badge?score=85)](https://schemalens.tech)
<a href="https://schemalens.tech"><img src="https://schemalens.tech/api/migration-safety-badge?score=85" alt="Migration Safety Score"></a>

Example Badges

Safe migration

Safe migration badge ?score=94

Caution

Caution migration badge ?score=72

Risky

Risky migration badge ?score=38

Flat-square style

Flat square migration badge ?score=85&style=flat-square

How It Works

Want automatic safety scores in every PR?

Add the SchemaLens GitHub Action to catch breaking schema changes and post the safety score as a PR comment.

GitHub Action → CI/CD Setup Wizard →