40 articles

The SchemaDrawer blog

Practical writing on database migrations, schema design, ER diagrams and the tooling around them. New articles every couple of weeks; there is an RSS feed.

All articles

Laravel Migrations: Best Practices for Teams

Practical rules for Laravel migrations in a team: one change per file, constrained foreign keys, frozen history, schema dumps, safe production runs and tests.

Primary Keys: Serial, Identity, UUID or ULID?

Integer, UUID or ULID primary keys compared on size, index locality, guessability and generation, with engine specifics and a recommendation per situation.

12 Tools to Visualize a Database Schema, Compared

From dbdiagram.io and DBeaver to SchemaSpy, tbls and Mermaid: what each schema visualization tool takes as input, what it produces and when to use it.

How to Generate an ER Diagram from Migration Files

Three ways to turn Flyway, Liquibase, Prisma or Django migrations into an ER diagram, and a step-by-step guide to the one that always matches reality.

Draw your schema in the next five minutes

One HTTP call with your migration files, one poll, one SVG. Free while we build it.