dbdiagram.io is an awesome tool, in nerdify we use it a lot. But sometime we wish to have a light open source alternative.
- Create a parser with fully sintax fully compatible con dbdiagram.io [check milestone #1]
- Develop a light component to render ER diagrams
You can try a demo here: here
enum status {
open
closed
}
Table categories {
id integer [primary key]
name varchar
}
Table products {
id integer [primary key]
category_id integer
name varchar
}
Ref: products.category_id > categories.id
Will result