# DB Diagram - 온라인 ERD 편집기

> Clean Markdown view of GeekNews topic #3444. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3444](https://news.hada.io/topic?id=3444)
- GeekNews Markdown: [https://news.hada.io/topic/3444.md](https://news.hada.io/topic/3444.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-12-20T11:07:03+09:00
- Updated: 2020-12-20T11:07:03+09:00
- Original source: [dbdiagram.io](https://dbdiagram.io/)
- Points: 19
- Comments: 3

## Topic Body

- 간단한 DSL 코드(DBML)를 작성하면 ERD를 그려주는 도구

- ERD는 줌인/아웃 및 드래그해서 편집 가능

- PostgreSQL/MySQL 스크립트 Import 가능

- PDF/PNG/SQL Export

- Rails(schama.rb) 직접 Import / Django(models.py 를 DBML 로 변환)

* DBML - https://github.com/holistics/dbml

* 이렇게 작성한 DBML 코드는 DBDocs 를 통해서 데이터베이스 문서 사이트로 쉽게 변환 가능 - https://dbdocs.io/

## Comments



### Comment 3975

- Author: dua804
- Created: 2020-12-21T15:02:04+09:00
- Points: 2

https://aquerytool.com/

제가 급할 때 사용한 사이트인데 가볍게 사용하기 좋습니다.

### Comment 3964

- Author: kunggom
- Created: 2020-12-21T02:10:21+09:00
- Points: 1

DBML(Database Markup Language)에 대한 소개글:

https://libsora.so/posts/dbml-entity-relation-diagram-as-code/

### Comment 3962

- Author: lamanus
- Created: 2020-12-20T19:34:38+09:00
- Points: 1

뷰어 자체가 내부적으로 사용 가능하게끔 된다면 매우 유용하겠네요.
