OP here. Sharing a bit of history on DBML.<p>Originated from dbdiagram.io, a simple tool that we built to help you draw ER diagram by using writing code [1]. We shared that project on HN about a year back. Since then it has been growing organically and reach over 80k users.<p>When we launched, what our users like most about that tool is the ability to write simple DSL language and get the chart visualized. Then over time, we started to see our users using that DSL language to document their internal database structure (without the necessary need to visualize it). They were using it as a database documentation/definition language.<p>Realized this is something we can add more value to the community, DBML was then born as a simple language to help you design, document and communicate your database structure with other developers. DBML is also open-sourced and would welcome contributions [2].<p>Basically with DBML you can:
- Have a simple db.dbml file to document your database schemas, with proper context and descriptions
- Your dbml file becomes the central source of truth of your database definition
- Using simple CLI command to generate SQL creation file from DBML<p>[1] <a href="https://news.ycombinator.com/item?id=18066881" rel="nofollow">https://news.ycombinator.com/item?id=18066881</a><p>[2] <a href="http://github.com/holistics/dbml" rel="nofollow">http://github.com/holistics/dbml</a>