Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 886 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 886 Bytes

DBScheme Parser [beta]

dbdiagram.io is an awesome tool, in nerdify we use it a lot. But sometime we wish to have a light open source alternative.

Goals

  1. Create a parser with fully sintax fully compatible con dbdiagram.io [check milestone #1]
  2. Develop a light component to render ER diagrams

Sintax

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

Screenshot-20200519002039-972x516