Goldfish

Project

Swordfish

A migration assessment harness for getting off legacy databases — see the code, plan it, and do it, without pretending a button can do it for you.

  • Open Source
  • Python
  • postgres
  • migration
  • ai
Status
beta

Swordfish is an assessment and modernization harness for heterogeneous database migrations to PostgreSQL — from Oracle, MySQL, SQL Server, Sybase, and DB2. It reads your codebase and tells you where your database access actually is (including the dynamic, ORM-generated, and wrapped SQL that grep walks right past), what needs to change and how risky it is, and what only a human can decide.

It is a helper, not an autopilot. A four-tier discovery funnel catches the known patterns cheaply and offline, finds the hidden SQL, and uses cross-checked LLMs for the long tail. It recommends a fix for each finding, lets you edit it, and hands a scoped task to whatever copilot you already use — and it never touches your source tree: rewrites land in .new sibling files for you to review. Self-hosted, offline-capable, Apache-2.0.

Every piece of Goldfish content tagged project: swordfish shows up below — the blogs on why migration is a code problem (and the engineering behind multi-model validation and behavioral traps), plus the per-database worked-example tutorials. The tutorials run against the Swordfish Sample Apps.

From this project