kurotych / sqlant

Generate PlantUML/Mermaid ER diagram textual description from SQL connection string
MIT License
24 stars 1 forks source link
mermaid plantuml postgresql rust sql

sqlant

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

Currently, supports only PostgreSQL NoTls connection

Why created

I like the idea of planter and I use it in internal confluence documentation with PlantUML plugin for my projects.
But I want to make it better

Installation

cargo install sqlant

Usage

PlantUML

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

example link

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

Mermaid

image