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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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