Skip to content

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string

License

Notifications You must be signed in to change notification settings

kurotych/sqlant

Repository files navigation

sqlant

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string
Inspired by planter

Installation

Compiled Binary (Linux only)

Download the binary file from releases page

Docker (Compressed size around 6MB)

The Docker image contains the sqlant binary and serves as a wrapper for executing it. link

docker pull kurotych/sqlant:latest

Cargo

cargo install sqlant

Usage

PlantUML

Binary

sqlant postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db --legend -e

Docker

docker run --network host kurotych/sqlant postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db 

example link

postgresql://sqlant_user:sqlant_pswd@localhost/sqlant_db -o mermaid

Mermaid

image

Links