๐Ÿ“ฆ kukimik / morela

Draw a relational database schema diagram basing on a textual description.

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching โš–๏ธ The Unlicense
๐Ÿ“ฅ Clone https://github.com/kukimik/morela.git
HTTPS git clone https://github.com/kukimik/morela.git
SSH git clone git@github.com:kukimik/morela.git
CLI gh repo clone kukimik/morela
kukimik kukimik check for duplicate tables. refactor. d5da767 4 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ app
๐Ÿ“ examples
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ Changelog.md
๐Ÿ“„ morela.cabal
๐Ÿ“„ README.md
๐Ÿ“„ stack.yaml
๐Ÿ“„ UNLICENSE
๐Ÿ“„ README.md

morela transforms a plain text description of relational database schema (including tables, their attributes and integrity constraints) into a visual diagram modeling the description. The visualization is produced using GraphViz.

This project is based on the erd tool by Andrew Gallant.

At present morela is in early development phase and highly unstable.

Installation

morela requires GraphViz.

Stack

Install the Stack build tool, and build from source:

git clone git://github.com/kukimik/morela cd morela stack install

stack install will put the binary into Stack's standard binary installation path. Unless you've overridden it, that's ~/.local/bin on Unix and OS X, %APPDATA%\local\bin on Windows.

Usage

morela [-f|--output-format FORMAT] < input.mrl > output_file

Available output formats are: dot,eps,fig,gif,jpeg,pdf,png,ps,ps2,svg,svgz,tiff,webp,sql.