Migration history. For the people on call.

Know whatchanged.

The open-source CLI that traces a production table back to the migration, the moment, and the person.

brew install ledgerlight

Then run ledgerlight init

Use npm instead

Free CLI. MIT licensed.

Built for Postgres and MySQL

Explore the record

One table.
The whole story.

A column appeared in production. Follow it back to the migration that put it there.

From schema to sourceIllustrated example

add_status.sql

ALTER TABLE orders
ADD COLUMN status text;

The statement that changed the schema.

orders.status

When (UTC)
By
deploy-bot

The table tells you what. The record tells you who and when.

ledgerlight blame orders

Example output. Invented data.
Example migration history for the orders table. All timestamps, actors, and migration records below are invented.
When (UTC)MigrationByChange
20261008_add_status.sqldeploy-botADD COLUMN status text
20261006_add_total.sqlbackend-teamADD COLUMN total numeric
20261001_create_orders.sqlci-runnerCREATE TABLE orders

Small commands.
Long memory.

Record the migrations your team runs. Ask a table where it came from. Read the history.

  1. Start the record

    Initialize Ledgerlight for your database.

    ledgerlight init
  2. Follow a table’s trail

    Find its migrations, timestamps, and actors.

    ledgerlight blame <table>
  3. See the history

    Read the migration timeline.

    ledgerlight timeline

For your team.
A dashboard.

The command line is free. The hosted Team dashboard is optional.

The CLI stays free

Team

Hosted dashboard

$12USD per user
per month

14-day trial

Example only. No account is created.

Next time,
leave a trail.

Install the free CLI. Start recording your database’s history.

Homebrew
brew install ledgerlight
npm
npm i -g ledgerlight
Then
ledgerlight init
Ledgerlight Team

Team dashboard.
Signup preview.

Example signup for the hosted Team dashboard. USD 12 per user per month, with a 14-day trial.

This fictional example sends nothing.