Articles
Guides on schema design, DBML, and getting more out of your database diagrams.
-
The 8 best database diagram tools in 2026, compared
The 8 best database diagram tools in 2026, compared: DB Planner, dbdiagram.io, DrawSQL, ChartDB, Lucidchart, drawDB, MySQL Workbench, and DBeaver.
Read the guide → -
What is an ER diagram? Definition, symbols, and examples
An ER diagram (entity relationship diagram) maps a database: entities, attributes, and relationships. The symbols, cardinality, notation, and examples.
Read the guide → -
What is DBML? The Database Markup Language explained
DBML (Database Markup Language) is a readable DSL for defining database schemas. Learn its syntax, why teams use it, and how to turn DBML into diagrams.
Read the guide → -
dbdiagram.io alternatives for teams in 2026
Looking for a dbdiagram.io alternative? Compare database diagram tools with multi-file DBML, real-time editing, and SQL import.
Read the guide → -
How to visualize a SQL database schema (step by step)
A practical guide to turning a PostgreSQL, MySQL, or SQL Server schema into an interactive entity relationship diagram you can share with your team.
Read the guide → -
DBML vs SQL: how they differ and when to use each
DBML is a readable language for designing a schema; SQL DDL is what the database runs. How they differ, when to use each, and how to convert between them.
Read the guide → -
How to document a database schema
A practical guide to documenting a database schema: table and column notes, an always-current diagram, sticky notes for decisions, and shareable exports.
Read the guide → -
DBML cheat sheet: the whole syntax on one page
A DBML syntax reference with a copyable example for each construct: tables, column settings, relationships, composite keys, indexes, enums, and notes.
Read the guide → -
One-to-many vs many-to-many relationships, with examples
One-to-many, one-to-one, and many-to-many relationships explained by where the foreign key goes, with a schema for each and a test to tell them apart.
Read the guide → -
Database normalization: 1NF, 2NF, and 3NF with examples
Database normalization explained by fixing one table in three steps: first, second, and third normal form, the anomalies each removes, and when to stop.
Read the guide → -
How to let an AI agent design your database, and stay in charge
A six-step workflow for designing a database schema with Claude or Cursor over MCP: read-only first, proposals a person merges, and review on the diagram.
Read the guide → -
Database MCP servers explained: schema access vs data access
A database MCP server either connects an AI agent to live data or to a schema design. What each can do, the risks of each, and five questions to ask.
Read the guide → -
15 prompts for designing a database schema with an AI agent
Fifteen prompts for designing, reviewing, and documenting a database schema with Claude or Cursor over MCP, each with the reason it is worded that way.
Read the guide → -
Why your coding agent guesses your schema, and how to stop it
Coding agents invent column names because they cannot see your tables. Why pasted schemas and schema files go stale, and how to give an agent a live one.
Read the guide → -
Connect Claude Code, Cursor, or VS Code to your database schema
Step-by-step MCP setup for Claude Code, Cursor, Claude, and VS Code: one URL, a browser sign-in, read or write access, and what to check when it fails.
Read the guide → -
The 7 best collaborative database design tools in 2026
Seven collaborative database design tools compared on real-time editing, review, roles, and what a team of three pays: DB Planner, DrawSQL, ChartDB, more.
Read the guide → -
How to build an ER diagram with your team in real time
A step-by-step way to work on one ER diagram as a team: a shared live board, who edits what, comments and proposals, and how not to overwrite each other.
Read the guide → -
How to run a database schema review, with a checklist
A database schema review process for teams, and a checklist to run it by: naming, keys, types, relationships, constraints, indexes, and migration safety.
Read the guide → -
How to share an ER diagram: links, embeds, images, and docs
Five ways to share an ER diagram or database schema, and who each is for: a read-only link, a public board, an embed, an image, and published schema docs.
Read the guide → -
ERD as code: database diagrams you write instead of draw
ERD as code means writing a schema as text and letting a tool draw the diagram. What it buys a team, the formats to choose from, and where it falls short.
Read the guide →