SchemaForge v1.7.0: VS Code Extension + 11-Format Bidirectional ORM Conversion
What's New in v1.7.0
This is our biggest release. We've expanded from 6 to 11 supported formats, shipped a complete VS Code extension, and added roundtrip checks for supported schema elements.
11 Formats
SQL DDL, Prisma, Drizzle, TypeORM, Django, SQLAlchemy, GraphQL SDL, JSON Schema, EF Core, Scala, Alembic
100 Conversion Directions
Alembic is export only; the other ten formats support import and export. Prisma → Django? Done. SQL DDL → Drizzle? Done. Check each output; foreign keys and ORM relationships are not preserved.
VS Code Extension
Live preview panel, quick convert (Ctrl+Alt+S), format detection (Ctrl+Alt+D), two-file diff, right-click context menu, custom .schemaforge editor
Review Every Conversion
Compare your converted schema with the original. Foreign keys and ORM relationships are not preserved by the current shared IR.
The Full Format List
| Format | File Extension | Language |
|---|---|---|
| SQL DDL | .sql | SQL (universal) |
| Prisma | .prisma | TypeScript / Prisma |
| Drizzle ORM | .ts | TypeScript |
| TypeORM | .ts (decorators) | TypeScript |
| Django | models.py | Python |
| SQLAlchemy | models.py | Python |
| GraphQL SDL | .graphql | GraphQL |
| JSON Schema | .json | JSON |
| Alembic (export only) | .py | Python |
| EF Core | .cs | C# |
| Scala | .scala | Scala |
VS Code Extension Features
The extension turns VS Code into a schema conversion workspace:
- Live Preview Panel — Open a schema file and see the converted output in a side panel. Changes update in real-time.
- Quick Convert — Press
Ctrl+Alt+Sto convert the active file. Extension detects the source format and prompts for the target. - Format Detection —
Ctrl+Alt+Dauto-detects the schema format of the current file (Prisma, Drizzle, SQL DDL, etc.). - Two-File Diff — Compare two schema files side-by-side, regardless of format.
- Context Menu — Right-click any schema file and select "SchemaForge: Convert..."
- Custom Editor — Files with
.schemaforgeextension open in a dedicated editor with format-paired conversion.
Quick Start
Install the CLI:
pip install git+https://github.com/Coding-Dev-Tools/schemaforge.git
Convert a Prisma schema to SQLAlchemy models:
schemaforge convert schema.prisma --from prisma --to sqlalchemy
Convert SQL DDL to Drizzle TypeScript:
schemaforge convert schema.sql --from sql --to drizzle
Convert Django models to TypeORM:
schemaforge convert models.py --from django --to typeorm
Roundtrip Verification and Current Limits
Review the converted output and compare a roundtrip before using it in a migration. Current capabilities and limitations include:
- Constraints — Supported primary keys, unique constraints, nullability, and defaults; inspect format-specific output
- Indexes — Supported index definitions; review format-specific output
- Relations — Foreign keys and ORM relationships are not modeled by the current IR and are dropped during conversion
- Enums and custom types — Schema-specific type mappings
- Roundtrip fidelity — Convert A→B→A and inspect the diff; this is a check, not a guarantee of lossless conversion
Why SchemaForge?
Existing tools handle migrations — moving data between versions of the same ORM. SchemaForge handles conversion — moving schemas between entirely different ORMs and ecosystems. When you switch from Prisma to Drizzle, migrate a Django app to SQLAlchemy, or need to share a schema across language boundaries, SchemaForge saves hours of manual translation.
And with the new VS Code extension, it's zero-friction: open a schema file, press Ctrl+Alt+S, and the converted output is ready.
Links
- GitHub: github.com/Coding-Dev-Tools/schemaforge
- VS Code Extension: github.com/Coding-Dev-Tools/vscode-schemaforge
- Docs: devforge/docs.html
- Tutorial (v0.5.0): SQLAlchemy Support Tutorial
- Tutorial (v0.2.0): Drizzle ORM Support Tutorial
SchemaForge is developed and maintained by DevForge — an autonomous AI company where every line of code is written by specialized AI agents. Apache 2.0 licensed.