Skip to content

v0.1.0 — SQL DDL ↔ Prisma bidirectional conversion

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 15 May 03:41
· 158 commits to master since this release

Initial release of SchemaForge — bidirectional ORM schema converter.

Features

  • SQL DDL → Prisma: Parse CREATE TABLE, CREATE TYPE ... AS ENUM, column types, constraints, defaults, indexes
  • Prisma → SQL DDL: Convert Prisma models back to SQL with full schema fidelity
  • Bidirectional roundtrip: SQL → Prisma → SQL preserves table structure, constraints, and types
  • Rich CLI:
  • Diff mode:
  • 26 tests passing with 84%+ type mapping coverage

Supported Formats (v0.1.0)

  • ✅ SQL DDL → Prisma
  • ✅ Prisma → SQL DDL

Limitations (v0.1.0)

  • Some type precision loss in roundtrip (e.g. TEXT → String → VARCHAR, BIGSERIAL → INTEGER)
  • Drizzle, TypeORM, Django formats planned for v0.2.0-v0.4.0

Full roadmap: README.md