DBML examples

DBML reads like simplified DDL, which is exactly why it stays honest: it is close enough to the real schema to check against it.

Three complete schemas, each exercising a different modelling problem.


#Every example here is real

Each page holds a diagram that is stored, rendered and editable exactly like one you drew yourself. Open any of them, change something, and see what happens. Nothing here is a screenshot.


#In this set



Close enough to the schema to stay true.