Vzoro
Visual Database Schema Designer, ERD Studio, 2-Sided Sync & DDL Migration Tool for VS Code
Supported RDBMS: PostgreSQL • MySQL • MariaDB
Coming Soon: Microsoft SQL Server (MS SQL) & SQLite
PostgreSQL • MySQL • MariaDB • ERD Studio • 2-Sided Sync • DDL Migrations • HTML & Markdown Docs • Local-First
vzoro.tafanee.com •
Features •
Databases •
Quick Start •
Shortcuts •
Support
Why Vzoro?
Vzoro turns Visual Studio Code into a complete, local-first Database Architecture Studio. Design schemas visually on a Figma-style canvas, reverse-engineer and bi-directionally synchronize live databases, generate production-ready DDL migrations, bulk-refactor naming conventions, and publish interactive HTML/Markdown documentation or print-quality PNG/PDF snapshots — all without leaving your IDE or uploading your schema to the cloud.
Core Features
1. 🎨 Vzoro Studio Canvas
A fast, responsive visual modeling environment built natively for VS Code:
- Figma-Style Spatial Navigation: Fluid 2D trackpad/mouse-wheel panning, cursor-centered zoom (
Ctrl/Cmd + Wheel), hold-Space hand tool, Z area zoom, middle-mouse pan, and canvas lock (L).
- Dual Canvas & Card Themes: Switch effortlessly between Dark and Light studio themes, curated card themes, full vs. stripe headers, and vibrant brightness-adaptive accent palettes.
- Schema / Domain & Visual Group Containers: Group tables inside physical PostgreSQL schemas or abstract MySQL/MariaDB domain containers, plus custom visual Group Containers and color-coded Architecture Sticky Notes.
- Interactive Modeling: Drag-and-drop column reordering directly on table cards, visual foreign key handle drawing with configurable edge routing (Smooth, Step, Curve, Straight), inline editing, draggable/resizable modals, and multi-level Undo (
Ctrl+Z) / Redo (Ctrl+Y).
- Focus Modes: Maximize canvas workspace with Zen Mode (
Ctrl+K Z), Full Screen (F11), quick jump search (Ctrl+F), and collapsible visibility filters.
2. 🛠️ DDL Generation (Full, Partial & Staged Migrations)
Generate clean, dialect-accurate SQL directly from your visual model:
- Full Schema DDL: Export a complete, topologically sorted database initialization script (parent tables ordered before dependent foreign keys) with optional
IF NOT EXISTS, DROP guards, indexes, comments, and inline vs. ALTER TABLE foreign keys.
- Partial & Scoped DDL: Filter SQL generation by specific schema(s) or selected table subsets to extract only the modules you need.
- Git-Style Staged Changes & Migrations: Every visual edit (create/rename/drop tables, column edits & renames, foreign keys, indexes, primary keys, comments) is tracked in the Staged Changes drawer with grouped changesets (
G1–G5).
- Safe Execution & Pre-Flight Dry Run: Review exact dialect SQL in Review & Apply Migration, run uncommitted Dry-Run Simulations, execute directly against your linked database with on-demand auto-connect, or export timestamped
.sql migration scripts.
- Offline SQL Import & Merge: Import existing
.sql DDL scripts into a brand-new model or merge incoming SQL diffs selectively into your current diagram.
3. 🔄 2-Sided Bi-Directional Schema Sync Studio
Compare your visual model blueprint against a live database catalog and synchronize in either direction:
- Live Model vs. Database Diffing: Detects new tables, missing tables, column additions/removals/type/nullability/default changes, foreign key differences, and index/unique constraint drift.
- Inline 1-Step Rename Pairing: Pair renamed tables directly inside the discrepancy cards (from either Model or Database side) so Vzoro generates safe
RENAME TABLE / ALTER TABLE ... RENAME migrations instead of destructive drop-and-recreate scripts.
- Granular Per-Table Decisions: Choose Push to DB, Pull to Model, or Skip for Later per table — or batch with Push All / Pull All / Skip All.
- Customizable DB Scope: Define exactly which remote database tables belong to a model's scope (full database or selected tables/schemas), persisted cleanly inside the model file.
- Safety First: Supports Safe Mode (Read-Only) connections, environment badges (
DEV, STAGING, PROD), production confirmation locks, and exportable Markdown diff reports.
4. 🗄️ Multi-Database Support (PostgreSQL, MySQL, MariaDB)
First-class multi-engine modeling with dedicated dialect catalogs and SQL generators:
| Database Engine |
Status |
Highlights |
PostgreSQL (12–17) |
✅ Supported |
Native multi-schema support, numeric(p,s) & array/range types, transactional BEGIN/SAVEPOINT/COMMIT migrations, CREATE SCHEMA / ALTER SCHEMA, PK/FK/Index constraint naming. |
MySQL (5.7, 8.x) |
✅ Supported |
Backtick-quoted DDL, AUTO_INCREMENT, InnoDB & utf8mb4 defaults, Abstract Schema Containers with recommended schema_table table prefixing, SET FOREIGN_KEY_CHECKS guards, RENAME TABLE / CHANGE COLUMN / RENAME INDEX. |
MariaDB (10.x, 11.x) |
✅ Supported |
Full MariaDB catalog introspection, dialect-tailored types & DDL, abstract schema containers with schema_table prefixing, and safe migration ordering. |
| Microsoft SQL Server (MS SQL) |
🔜 Coming Soon |
Native T-SQL dialect, schema support, and live SQL Server introspection & sync. |
| SQLite |
🔜 Coming Soon |
Local .sqlite / .db file introspection, visual modeling, and SQLite-safe table rebuild migrations. |
- Cross-Dialect Conversion: Convert models safely between PostgreSQL, MySQL, and MariaDB with automatic type adaptation and safe-copy creation.
- Isolated Per-Model Connections: Open multiple PostgreSQL, MySQL, and MariaDB models side-by-side — each tab maintains its own isolated connection and connects on-demand automatically.
5. 📄 Automated Documentation Generator (HTML & Markdown)
Turn your database architecture into shareable, always-up-to-date documentation in one click:
- Interactive HTML Documentation (
.html): Self-contained, zero-dependency HTML data dictionary with instant search, Dark/Light theme toggle, summary metrics strip, clickable foreign key jump links, embedded Mermaid ERDs, and per-table DDL previews.
- Markdown Data Dictionaries (
.md): Clean Git/Wiki-ready documentation featuring:
- Table Formats: Aligned Markdown, ASCII Box Grid (
+---+---+), and Tab-Delimited (TSV) for spreadsheets.
- Embedded Mermaid ER Diagrams: Auto-generated ERDs honoring your Foreign Key and Index toggles.
- Guaranteed TOC Anchor Navigation: Explicit anchors ensure Table of Contents links jump accurately in VS Code Preview, GitHub, and Obsidian.
- Engine-Aware Formatting: Clean model title, description blockquote, metrics overview, and proper MySQL/MariaDB vs. PostgreSQL naming.
6. 🖼️ High-Resolution Snapshots (PNG & PDF)
Export presentation-ready architecture diagrams directly from the canvas:
- Crystal-Clear Multi-Scale Rendering: Export in 1x Standard, 2x Retina, or 3x Print Quality as PNG or vector-embedded PDF.
- Architectural Header Banner: Optional header displaying engine badge, model title, generation timestamp, schema/table/relationship counts, and clean typography on both dark and light themes.
- Flexible Export Destinations: Copy snapshots directly to your clipboard for slides/docs or save directly into your workspace.
7. ✨ Naming Standards & Bulk Rename Refactor
Enforce consistent database naming conventions across an entire schema in seconds:
- Comprehensive Scope: Standardize Schemas, Tables, Columns, Primary Keys, Foreign Keys, Indexes, and Unique Constraints.
- Configurable Rules & Templates:
- Identifier casing (
snake_case, camelCase, lowercase), table inflection (plural, singular), separator cleanup, and ID suffix normalization (x_id, xId, etc.).
- Constraint templates with dynamic tokens (
pk_[table], fk_[table]_[column], idx_[table]_[column], uq_[table]_[column]).
- MySQL/MariaDB schema prefix refactoring (Add Prefix
schema_table, Remove Prefix, or Keep).
- 1-Click Best Practices: Apply tailored best-practice presets for PostgreSQL, MySQL, or MariaDB (including recommended
schema_table prefixing for MySQL/MariaDB).
- Interactive Review & Staged DDL: Inspect every proposed rename in a categorized checklist before applying, with full Undo (
Ctrl+Z) and automatic staging into Staged Changes so renames can be deployed cleanly to your live database.
8. 🔒 Local-First Files & Privacy
Your schemas, diagrams, and database credentials stay strictly under your control:
- 100% Local Model Files: Models are stored locally in your project workspace as
.vzr or human-readable .vzr.json files (with full backwards compatibility for .vzoro and .vzoro.json).
- Zero Cloud Schema Storage: Vzoro never uploads your database schemas, SQL scripts, table structures, or data rows to external servers. Database connections communicate directly from your local VS Code instance to your database.
- Git-Friendly JSON Schema (v2.0.0): Backed by built-in JSON Schema validation (
schemas/vzoro-layout-v2.schema.json), ideal for code reviews, branching, and version control alongside your source code.
- Native VS Code Integration: Double-click any
.vzr, .vzr.json, .vzoro, or .vzoro.json file to open it in the graphical designer, right-click any Explorer folder to create a new model, and monitor workspace models automatically in the Vzoro: DB Models sidebar.
- Offline-Ready: Design, document, and export completely offline without interruption.
9. 📐 Auto-Layout Organizer
Keep large, complex schemas clean and readable with zero manual fiddling:
- Canvas-Wide Auto-Layout: Organize your entire multi-schema diagram automatically using hierarchical Dagre dependency flow.
- Per-Schema Auto-Organize: Rearrange tables inside any individual schema container using Hierarchical Flow (DAG) or Matrix Grid presets.
- Smart Container Sizing: Schema containers automatically expand to fit enclosed tables and provide 1-click Fit to Contents tightening to remove dead space.
Quick Start
- Create or Open a Model:
- Right-click any folder in VS Code Explorer → New Vzoro DB Model... (creates a
.vzr or .vzr.json file).
- Or click + in the Vzoro: DB Models sidebar to pick your target engine (PostgreSQL, MySQL, or MariaDB).
- Or double-click any existing
.vzr, .vzr.json, .vzoro, or .vzoro.json file.
- Design Offline or Link a Live Database:
- Start adding schemas, tables, columns, and relationships immediately offline, or Import SQL from an existing
.sql script.
- To sync with a live server, add a profile in Vzoro: DB Connections and link it to your model. Vzoro connects on-demand whenever you compare, dry-run, or execute migrations.
- Sync, Document & Export:
- Open 2-Sided Sync Studio to push/pull schema changes with live databases.
- Open Staged Changes → Review SQL Diff to inspect, dry-run, export, or apply migrations.
- Use Docs for HTML/Markdown data dictionaries, Export for PNG/PDF snapshots, and Refactor to standardize naming across your model.
Keyboard Shortcuts & Gestures
Canvas Navigation (Figma-Style)
| Shortcut / Gesture |
Action |
Space (Hold) + Drag |
Temporary Hand pan mode |
Middle Click & Drag |
Instant canvas pan |
Ctrl / Cmd + Wheel |
Smooth zoom centered at cursor |
Mouse Wheel / Shift + Wheel |
Pan vertically / horizontally |
| Trackpad Pinch / 2-Finger Swipe |
Native pinch-to-zoom & 2D pan |
Ctrl + 0 / Shift + 1 |
Fit entire diagram in view |
Ctrl + = / Ctrl + - |
Zoom in / out |
| Shortcut |
Action |
V / Escape · H · Z · L |
Select · Hand · Zoom · Lock Canvas |
Ctrl+S / Cmd+S |
Save active model file |
Ctrl+Z / Ctrl+Y |
Multi-level Undo / Redo |
Ctrl+C / Ctrl+V / Ctrl+D |
Copy / Paste / Duplicate selected tables or objects |
Ctrl+F / Cmd+F |
Quick jump & canvas search |
Ctrl+G / Cmd+G |
Group selected tables into a container |
Alt + ↑ / Alt + ↓ |
Reorder column inside Table Editor modal |
Ctrl+K Z / F11 |
Toggle Zen Mode / Full Screen |
? / F1 |
Open Keyboard Shortcuts Cheat Sheet |
Requirements & Compatibility
- Visual Studio Code:
v1.85.0 or newer (cross-platform: Windows, macOS, Linux).
- PostgreSQL:
12.x – 17.x (Local, Docker, Supabase, Neon, AWS RDS, Azure, Cloud SQL).
- MySQL:
5.7 & 8.x (Local, Docker, PlanetScale, AWS RDS, Cloud SQL).
- MariaDB:
10.x & 11.x.
Support
| |