mcdview blog
EN FR
← Back to the blog

In the wild

Open-source schemas, in the wild

We pointed mcdview at the schemas of well-known open-source projects, and rebuilt each one's history from its own git log. Ten live diagrams, each with a time-lapse of how the database grew and a diff you can read at a glance.

Where the history comes from

The trick is that many projects keep their whole schema in a single committed file: a Rails db/schema.rb, a PostgreSQL db/structure.sql, or a Prisma schema.prisma. That file's git history is the schema's history. We walked the commits, kept one state per structural change, and replayed them into mcdview with their real dates, pinned as versions. mcdview reads all three formats directly, no conversion.

One honest caveat: a diagram only shows the foreign keys a project actually declares in its database. Some apps keep relations in application code, so their early diagrams look sparse even when the tables are related.

Ten schemas you can click through

Each has three links: the current diagram, a time-lapse of its whole history, and one diff worth a look. Open the diagram, click a table to isolate it, follow a foreign key, switch to dark mode.

Mastodon

The decentralized social network at the heart of the fediverse (ActivityPub).

db/schema.rb · 2016-2026 · 116 tables · 156 FK

GitLab

The DevOps platform: Git hosting, CI/CD, issues. (This public mirror's schema stops in 2020.)

db/schema.rb · 2011-2020 · 328 tables · 506 FK

Discourse

The modern open-source discussion platform. Its Postgres structure.sql, 363 tables today.

db/structure.sql · 2013-2026 · 363 tables · 34 FK

Forem

The platform behind DEV (dev.to) and other communities.

db/schema.rb · 2018-2026 · 128 tables · 128 FK

Cal.com

Open-source scheduling, the Calendly alternative. A Prisma schema.

schema.prisma · 2022-2026 · 100 tables · 205 FK

Lobsters

The computing-focused link-aggregation community (a cousin of this very demo).

db/schema.rb · 2012-2026 · 38 tables · 64 FK

diaspora*

A pioneer of the decentralized social web. Schema history runs 2010 to 2016.

db/schema.rb · 2010-2016 · 49 tables · 29 FK

Documenso

Open-source document signing, the DocuSign alternative.

schema.prisma · 2023-2026 · 51 tables · 64 FK

Formbricks

Open-source surveys and experience management.

schema.prisma · 2023-2026 · 49 tables · 86 FK

Umami

Privacy-friendly web analytics, a small and legible schema.

schema.prisma · 2022-2025 · 11 tables · 17 FK

Want your project here, kept current automatically? Paste a schema on mcdview.dev, or wire it into CI so the diagram updates on every push. See Keep a diagram updated on every push.

If there is a well-known open schema you would like added, it takes a minute.