Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>chaitu_ddl_generatorNew to Visual Studio Code? Get it now.
chaitu_ddl_generator

chaitu_ddl_generator

Sri Sai Chaitanya Karumuri

|
7 installs
| (0) | Free
this extension creates a ddl for a drawio ER diagram.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Chaitu DDL Generator

This VS Code extension lets you generate SQL DDL scripts directly from .drawio entity-relationship (ER) diagrams or JSON schema files.

Features

  • ✅ Supports .drawio files (via draw.io integration)
  • 🧠 Automatically parses tables, columns, and relationships
  • 📄 Generates DDL for PostgreSQL and MySQL
  • 🧪 Includes schema validation (column count, type checks)

Commands

  • DDLGen: Generate DDL from .drawio
  • DDLGen: Validate ER Diagram (.drawio)

Usage

  1. Open a .drawio ER diagram file in VS Code
  2. Use CMD + Shift + P (macOS) or Ctrl + Shift + P (Windows/Linux)
  3. Run DDLGen: Generate DDL
  4. Choose your target database type
  5. See the generated SQL file in a new tab

Requirements

  • .drawio extension installed (recommended)
  • Tables should include at least 5 columns (name, type, key, nullability, default)

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft