Converts your Ecto Repo into a Mermaid ER diagram file
Warning
For now it only supports PostgreSQL and SQLite3 repos
Add :ecto_mermaid to the list of dependencies in mix.exs:
def deps do
[
{:ecto_mermaid, "~> 0.1.0", only: :dev}
]
endYou can create a Markdown file with a Mermaid ER Diagram for each of the repos in your project.
mix ecto.mermaidYou can specify a single repo with the -r or --repo args:
mix ecto.mermaid -r MyApp.Repo