Rigpa Tech
Open source

SCHEMA
FORGE

Natural language to typed database migrations

$ schemaforge "add soft delete to orders"
› planning change…
ALTER TABLE orders ADD COLUMN deleted_at timestamptz;
CREATE INDEX orders_live_idx
› shadow db dry-run ✓ 0 rows lost
› types regenerated ✓

Abstract

An open-source CLI that turns a plain-English change request into a reviewed, reversible SQL migration with generated types.

Findings

  1. 01Constraining output to a migration AST cut invalid SQL from 18% to 6%.
  2. 02A dry-run against a shadow database catches most destructive changes before review.
  3. 03Generated down-migrations remain the hardest part; we require human sign-off.

Feeds into