← Files Zovo ER DiagramARCHIVED FILE
.codex-plugin/plugin.json
15.1 KB · Dec 1, 2026 · 06:20 UTC
{
"name": "er-diagram",
"version": "1.0.0",
"description": "ER diagrams from your SQL tables.",
"author": {
"name": "Zovo",
"email": "support@zovo.one",
"url": "https://zovo.one"
},
"homepage": "https://er-diagram.zovo.one",
"license": "Proprietary",
"keywords": [
"er diagram",
"entity relationship diagram",
"database diagram",
"schema diagram",
"sql",
"ddl",
"create table",
"foreign key",
"postgresql",
"mysql",
"sqlite",
"crow's foot"
],
"skills": "./skills/",
"mcpServers": "./.mcp.json",
"interface": {
"displayName": "Zovo ER Diagram",
"shortDescription": "ER diagrams from SQL tables",
"longDescription": "Zovo ER Diagram turns SQL CREATE TABLE statements into an entity relationship diagram you can print, share or put in a design document. Paste the DDL of a PostgreSQL, MySQL or SQLite database, or a pg_dump or mysqldump file, and get a clean diagram of the tables and their foreign keys.\n\nEach table becomes a box with all its columns and types, marked PK, FK or UQ. Each foreign key becomes a line with crow's foot marks. The marks come only from the DDL: NOT NULL, primary keys and UNIQUE decide the mark at each end of a line, and the rules are written in the result. Composite keys and quoted names work. Tables that other tables reference are placed to the left, and the lines run in the space between the tables.\n\nA geometry check on the final drawing counts tables that overlap, lines that cross a table and lines drawn on top of each other. The PDF is Letter, A4 or Tabloid. When the schema does not fit one page with text of at least 7 pt, the PDF goes on to more pages, cut only between tables, and ends with a list of the tables and relationships with their pages. You also get an SVG of the whole diagram, a CSV with one row per column (type, NOT NULL, key, references) and a JSON summary.\n\nA second tool checks the schema without drawing: foreign keys that point to a missing table or column, referenced columns that are not a key, type differences between a foreign key and the column it references, tables without a primary key and duplicate names, with the name rule of the dialect.\n\nOnly CREATE TABLE is read. Other statements, such as CREATE INDEX, views, ALTER TABLE, triggers and INSERT, are listed as skipped with their line numbers. A CREATE TABLE that does not parse in full is refused with the line number, so nothing is guessed.\n\nLimitations: up to 50 tables, 60 columns per table, 1,000 columns and 120 foreign keys in all. Foreign keys added by ALTER TABLE are not drawn. It does not connect to a database or run SQL. The PDF font covers Latin, Greek, Cyrillic and Vietnamese; Chinese, Japanese, Korean, Arabic, Hebrew and emoji show as ? in the PDF, and the SVG, CSV and JSON keep them. Files of large diagrams are kept for 1 hour so the download links work, then deleted, so download the files to keep them.",
"developerName": "Zovo",
"category": "Developer Tools",
"capabilities": [
"Interactive",
"Read"
],
"websiteURL": "https://er-diagram.zovo.one",
"supportURL": "https://er-diagram.zovo.one/support",
"privacyPolicyURL": "https://er-diagram.zovo.one/privacy",
"termsOfServiceURL": "https://er-diagram.zovo.one/terms",
"defaultPrompt": [
"ER diagram: CREATE TABLE users (id int PRIMARY KEY); CREATE TABLE orders (id int PRIMARY KEY, user_id int REFERENCES users(id));",
"Check this schema for broken foreign keys: CREATE TABLE a (id int PRIMARY KEY); CREATE TABLE b (a_id int REFERENCES c(id));",
"Draw a Tabloid PDF ER diagram of my PostgreSQL schema"
],
"brandColor": "#2B59C3",
"brandColorDark": "#8FB0FF",
"composerIcon": "./assets/icon.svg",
"logo": "./assets/logo.png"
},
"extensions": {
"com.openai": {
"onboardingSkill": "./skills/er-diagram/SKILL.md",
"review": {
"test_cases": {
"positive": [
{
"description": "ER diagram of users and orders",
"prompt": "Draw an ER diagram: CREATE TABLE users (id int PRIMARY KEY, email text NOT NULL UNIQUE); CREATE TABLE orders (id int PRIMARY KEY, user_id int NOT NULL REFERENCES users(id));",
"tools_triggered": "make_er_diagram",
"expected_behavior": "Calls make_er_diagram with the DDL. Reports 2 tables, 4 columns and 1 foreign key, the line orders(user_id) -> users(id) with exactly one at users and zero or many at orders, 0 overlapping tables and 0 line segments crossing a table on one Letter page. PDF, SVG, CSV and JSON links open."
},
{
"description": "Check a schema for broken foreign keys",
"prompt": "Check this schema for broken foreign keys: CREATE TABLE a (id int PRIMARY KEY); CREATE TABLE b (id int, a_id bigint REFERENCES a(id), c_id int REFERENCES c(id));",
"tools_triggered": "check_schema",
"expected_behavior": "Calls check_schema with the DDL. Reports 2 tables and 2 foreign keys, 1 error: b(c_id) references table c, which is not in the DDL; 1 type difference (b.a_id bigint vs a.id int); table b has no primary key. No files are made."
},
{
"description": "PostgreSQL schema on A4",
"prompt": "PostgreSQL ER diagram on A4: CREATE TABLE author (id serial PRIMARY KEY, name text); CREATE TABLE book (id serial PRIMARY KEY, author_id int REFERENCES author, isbn text UNIQUE);",
"tools_triggered": "make_er_diagram",
"expected_behavior": "Calls make_er_diagram with dialect postgres and page_size a4. Reports 2 tables, 5 columns and 1 relationship book(author_id) -> author(id): zero or one at author because author_id can be NULL, zero or many at book. One A4 page, 0 overlapping tables."
},
{
"description": "Composite foreign key in SQLite",
"prompt": "SQLite ER diagram: CREATE TABLE t (a INT, b INT, PRIMARY KEY (a, b)); CREATE TABLE u (id INT PRIMARY KEY, a INT NOT NULL, b INT NOT NULL, FOREIGN KEY (a, b) REFERENCES t(a, b));",
"tools_triggered": "make_er_diagram",
"expected_behavior": "Calls make_er_diagram with dialect sqlite. Reports 2 tables, 5 columns and the composite relationship u(a, b) -> t(a, b) with exactly one at t and zero or many at u, and 0 line segments crossing a table."
},
{
"description": "Skipped statements are listed",
"prompt": "ER diagram: CREATE TABLE dept (id int PRIMARY KEY); CREATE TABLE emp (id int PRIMARY KEY, dept_id int NOT NULL REFERENCES dept(id)); CREATE INDEX emp_dept ON emp(dept_id);",
"tools_triggered": "make_er_diagram",
"expected_behavior": "Calls make_er_diagram. Reports 2 tables, 3 columns and 1 relationship emp(dept_id) -> dept(id), and lists 1 skipped statement: CREATE INDEX on line 1. 0 overlapping tables."
}
],
"negative": [
{
"description": "Running a query is not drawing a diagram. Expected: no er-diagram tool is called; the assistant answers about the SQL itself.",
"prompt": "Write a SQL query that lists customers with more than 3 orders last month"
},
{
"description": "A flowchart of a process is a different diagram. Expected: no er-diagram tool is called.",
"prompt": "Draw a flowchart of our refund process with a yes/no decision for orders over $100"
},
{
"description": "Asking how to design a schema is advice, not a drawing of given DDL. Expected: no er-diagram tool is called; the assistant gives advice.",
"prompt": "Should I use a UUID or a bigint as the primary key for my users table?"
}
]
},
"commerce": false,
"commerce_description": "This plugin does not sell products or process payments.",
"demo_recording_url": "https://er-diagram.zovo.one/demo.mp4"
},
"publication": {
"countries": [],
"release_notes": "Initial release: ER diagrams from SQL CREATE TABLE statements (PostgreSQL, MySQL, SQLite) with crow's foot marks taken from the DDL, a geometry check, PDF (Letter, A4 or Tabloid), SVG, CSV and JSON downloads, and a schema check.",
"translations": {
"pl-PL": {
"subtitle": "Diagramy ER z tabel SQL",
"description": "Zovo ER Diagram zamienia polecenia SQL CREATE TABLE w diagram zwi\u0105zk\u00f3w encji. Wklej DDL bazy PostgreSQL, MySQL lub SQLite: ka\u017cda tabela to ramka ze wszystkimi kolumnami i typami (PK, FK, UQ), a ka\u017cdy klucz obcy to linia ze znacznikami kurzej \u0142apki wyznaczonymi tylko z DDL (NOT NULL, klucze g\u0142\u00f3wne, UNIQUE). Sprawdzenie geometrii liczy nak\u0142adaj\u0105ce si\u0119 tabele i linie przecinaj\u0105ce tabel\u0119. PDF (Letter, A4 lub Tabloid) z tekstem co najmniej 7 pt, SVG, CSV kolumn i podsumowanie JSON. Druga funkcja sprawdza schemat: klucze obce do brakuj\u0105cych tabel lub kolumn, r\u00f3\u017cnice typ\u00f3w, tabele bez klucza g\u0142\u00f3wnego i powt\u00f3rzone nazwy. Czyta tylko CREATE TABLE; inne polecenia s\u0105 wymienione jako pomini\u0119te z numerem wiersza."
},
"de-DE": {
"subtitle": "ER-Diagramme aus SQL-Tabellen",
"description": "Zovo ER Diagram macht aus SQL-Anweisungen CREATE TABLE ein Entity-Relationship-Diagramm. F\u00fcgen Sie die DDL einer PostgreSQL-, MySQL- oder SQLite-Datenbank ein: Jede Tabelle wird ein Kasten mit allen Spalten und Typen (PK, FK, UQ), jeder Fremdschl\u00fcssel eine Linie mit Kr\u00e4henfu\u00df-Markierungen, die nur aus der DDL stammen (NOT NULL, Prim\u00e4rschl\u00fcssel, UNIQUE). Eine Geometriepr\u00fcfung z\u00e4hlt \u00fcberlappende Tabellen und Linien, die eine Tabelle kreuzen. PDF (Letter, A4 oder Tabloid) mit Text ab 7 pt, SVG, CSV der Spalten und JSON-Zusammenfassung. Ein zweites Werkzeug pr\u00fcft das Schema: Fremdschl\u00fcssel auf fehlende Tabellen oder Spalten, Typunterschiede, Tabellen ohne Prim\u00e4rschl\u00fcssel und doppelte Namen. Gelesen wird nur CREATE TABLE; andere Anweisungen werden mit Zeilennummer als \u00fcbersprungen gelistet."
},
"es-ES": {
"subtitle": "Diagramas ER desde tablas SQL",
"description": "Zovo ER Diagram convierte sentencias SQL CREATE TABLE en un diagrama entidad-relaci\u00f3n. Pega el DDL de una base PostgreSQL, MySQL o SQLite: cada tabla es un cuadro con todas sus columnas y tipos (PK, FK, UQ) y cada clave for\u00e1nea es una l\u00ednea con marcas de pata de gallo tomadas solo del DDL (NOT NULL, claves primarias, UNIQUE). Una comprobaci\u00f3n geom\u00e9trica cuenta las tablas superpuestas y las l\u00edneas que cruzan una tabla. PDF (Letter, A4 o Tabloid) con texto de al menos 7 pt, SVG, CSV de columnas y resumen JSON. Una segunda herramienta revisa el esquema: claves for\u00e1neas a tablas o columnas inexistentes, diferencias de tipo, tablas sin clave primaria y nombres duplicados. Solo lee CREATE TABLE; las dem\u00e1s sentencias se listan como omitidas con su n\u00famero de l\u00ednea."
},
"fr-FR": {
"subtitle": "Diagrammes ER depuis le SQL",
"description": "Zovo ER Diagram transforme des instructions SQL CREATE TABLE en diagramme entit\u00e9-association. Collez le DDL d'une base PostgreSQL, MySQL ou SQLite : chaque table devient une bo\u00eete avec toutes ses colonnes et ses types (PK, FK, UQ), chaque cl\u00e9 \u00e9trang\u00e8re une ligne avec des marques en patte d'oie tir\u00e9es uniquement du DDL (NOT NULL, cl\u00e9s primaires, UNIQUE). Un contr\u00f4le g\u00e9om\u00e9trique compte les tables qui se chevauchent et les lignes qui traversent une table. PDF (Letter, A4 ou Tabloid) avec un texte d'au moins 7 pt, SVG, CSV des colonnes et r\u00e9sum\u00e9 JSON. Un second outil v\u00e9rifie le sch\u00e9ma : cl\u00e9s \u00e9trang\u00e8res vers des tables ou colonnes absentes, diff\u00e9rences de type, tables sans cl\u00e9 primaire et noms en double. Seul CREATE TABLE est lu ; les autres instructions sont list\u00e9es comme ignor\u00e9es avec leur num\u00e9ro de ligne."
},
"ja-JP": {
"subtitle": "SQL \u306e\u8868\u304b\u3089 ER \u56f3\u3092\u4f5c\u6210",
"description": "Zovo ER Diagram \u306f SQL \u306e CREATE TABLE \u6587\u304b\u3089 ER \u56f3(\u5b9f\u4f53\u95a2\u9023\u56f3)\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002PostgreSQL\u3001MySQL\u3001SQLite \u306e DDL \u3092\u8cbc\u308a\u4ed8\u3051\u308b\u3068\u3001\u5404\u30c6\u30fc\u30d6\u30eb\u304c\u5168\u30ab\u30e9\u30e0\u3068\u578b(PK\u3001FK\u3001UQ)\u3092\u6301\u3064\u30dc\u30c3\u30af\u30b9\u306b\u306a\u308a\u3001\u5404\u5916\u90e8\u30ad\u30fc\u304c DDL(NOT NULL\u3001\u4e3b\u30ad\u30fc\u3001UNIQUE)\u3060\u3051\u304b\u3089\u6c7a\u3081\u305f\u30ab\u30e9\u30b9\u306e\u8db3\u8a18\u6cd5\u306e\u7dda\u306b\u306a\u308a\u307e\u3059\u3002\u5e7e\u4f55\u30c1\u30a7\u30c3\u30af\u3067\u3001\u91cd\u306a\u3063\u305f\u30c6\u30fc\u30d6\u30eb\u3068\u30c6\u30fc\u30d6\u30eb\u3092\u6a2a\u5207\u308b\u7dda\u3092\u6570\u3048\u307e\u3059\u3002PDF(Letter\u3001A4\u3001Tabloid\u3001\u6587\u5b57\u306f 7 pt \u4ee5\u4e0a)\u3001SVG\u3001\u30ab\u30e9\u30e0\u306e CSV\u3001JSON \u306e\u8981\u7d04\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u30b9\u30ad\u30fc\u30de\u3092\u78ba\u8a8d\u3059\u308b\u30c4\u30fc\u30eb\u3082\u3042\u308a\u3001\u5b58\u5728\u3057\u306a\u3044\u30c6\u30fc\u30d6\u30eb\u3084\u30ab\u30e9\u30e0\u3078\u306e\u5916\u90e8\u30ad\u30fc\u3001\u578b\u306e\u9055\u3044\u3001\u4e3b\u30ad\u30fc\u306e\u306a\u3044\u30c6\u30fc\u30d6\u30eb\u3001\u540d\u524d\u306e\u91cd\u8907\u3092\u5831\u544a\u3057\u307e\u3059\u3002\u8aad\u3080\u306e\u306f CREATE TABLE \u3060\u3051\u3067\u3001\u305d\u306e\u4ed6\u306e\u6587\u306f\u884c\u756a\u53f7\u4ed8\u304d\u3067\u30b9\u30ad\u30c3\u30d7\u3068\u3057\u3066\u4e00\u89a7\u306b\u3057\u307e\u3059\u3002PDF \u306e\u30d5\u30a9\u30f3\u30c8\u306f\u65e5\u672c\u8a9e\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u65e5\u672c\u8a9e\u306e\u540d\u524d\u306f PDF \u3067 ? \u3068\u8868\u793a\u3055\u308c\u307e\u3059(SVG\u3001CSV\u3001JSON \u3067\u306f\u8868\u793a\u3055\u308c\u307e\u3059)\u3002"
},
"pt-BR": {
"subtitle": "Diagramas ER de tabelas SQL",
"description": "Zovo ER Diagram transforma comandos SQL CREATE TABLE em um diagrama entidade-relacionamento. Cole o DDL de um banco PostgreSQL, MySQL ou SQLite: cada tabela vira uma caixa com todas as colunas e tipos (PK, FK, UQ) e cada chave estrangeira vira uma linha com marcas p\u00e9 de galinha tiradas apenas do DDL (NOT NULL, chaves prim\u00e1rias, UNIQUE). Uma verifica\u00e7\u00e3o geom\u00e9trica conta tabelas sobrepostas e linhas que cruzam uma tabela. PDF (Letter, A4 ou Tabloid) com texto de pelo menos 7 pt, SVG, CSV das colunas e resumo JSON. Uma segunda ferramenta verifica o esquema: chaves estrangeiras para tabelas ou colunas ausentes, diferen\u00e7as de tipo, tabelas sem chave prim\u00e1ria e nomes duplicados. L\u00ea apenas CREATE TABLE; os demais comandos s\u00e3o listados como ignorados com o n\u00famero da linha."
}
}
}
}
},
"apps": "./.app.json"
}
SHA-256: 56539ee4bc38e5cef268e3338e1ac903b6162f9972728aedcdf987613efde45e