Skip to content

Converts your Ecto Repo into a Mermaid ERD diagram

Notifications You must be signed in to change notification settings

poncho/ecto_mermaid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EctoMermaid

Converts your Ecto Repo into a Mermaid ER diagram file

Warning

For now it only supports PostgreSQL and SQLite3 repos

Installation

Add :ecto_mermaid to the list of dependencies in mix.exs:

def deps do
  [
    {:ecto_mermaid, "~> 0.1.0", only: :dev}
  ]
end

Usage

You can create a Markdown file with a Mermaid ER Diagram for each of the repos in your project.

mix ecto.mermaid

You can specify a single repo with the -r or --repo args:

mix ecto.mermaid -r MyApp.Repo

About

Converts your Ecto Repo into a Mermaid ERD diagram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages