Skip to content
Projects · Brian Rey
brianrey.xyz/projects/dbml-for-orca.proj
All files in ProjectsProject · Finished · Nov 2026

DBML for Orca

A plugin for the Orca IDE that shows a DBML file as code next to a live ER diagram, which updates while you type.

By · dbml-for-orca.proj

An online store schema drawn as an ER diagram, with customers, products, orders and order items, a sales table group and a sticky note

Coding agents write database schemas much faster than I can read them, and a long list of Table blocks never shows how the tables connect to each other. I wanted to see that at a glance, so I built a plugin for Orca that opens every .dbml file as code on the left and a diagram on the right.

The diagram updates while you type. When the syntax breaks, it keeps showing the last version that worked and tells you where the errors are, so a typo never makes the whole diagram disappear.

Hovering the price_cents column shows its type, not null constraint and note, while unrelated tables fade

If you hover over a column you see its type and its notes. You can drag the tables wherever you like and they stay there, even after new tables appear. When you're done, you can export the diagram as a PNG or an SVG.

It's in Orca's plugin directory, and the code is on GitHub.

View in the Orca directory

Projects · dbml-for-orca.proj100%