How does this handle migrations?
Show HN: DBML – simple DSL language to document database schemas
11–17 of 17 posts
Re: Show HN: DBML – simple DSL language to document database schemas
#12OP here. Sharing a bit of history on DBML. 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. 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…
Re: Show HN: DBML – simple DSL language to document database schemas
#13Very nice! So do you plan to support other dbs? Sqlite would be nice.
Yes we do. SQLite is in the roadmap. Although it’s database-agnostic, we do realize that a lot of the use cases is about generating database-specific SQL based on DBML code. So we’re working on introducing dialects to the syntax so that it closely resembles specific DB better (e.g this DBML is of MySQL dialect).
Re: Show HN: DBML – simple DSL language to document database schemas
#14Is the name going to cause confusion with Microsofts DBML in .NET? They are both database tooling?
Re: Show HN: DBML – simple DSL language to document database schemas
#15Earlier quoted context omitted.
Yes we do. SQLite is in the roadmap. Although it’s database-agnostic, we do realize that a lot of the use cases is about generating database-specific SQL based on DBML code. So we’re working on introducing dialects to the syntax so that it closely resembles specific DB better (e.g this DBML is of MySQL dialect).
That's exactly what i was wondering. DBML should totally be agnostic so i could use with any DB i wish.
I guess my original query could've been clearer - but the author got my drift :)