Download
ForgeSchema 0.4.0 is the current release, licensed under Apache 2.0. It manages enum types, array columns and plain views, supports PostgreSQL 16, 17 and 18, and comes with a GitHub Action that posts plans on pull requests; see the release post. The links below always point at the newest release on GitHub.
| Platform | Processor | Archive |
|---|---|---|
| Linux | x86-64 / Intel or AMD | Download |
| Linux | ARM64 | Download |
| macOS | x86-64 / Intel | Download |
| macOS | ARM64 / Apple silicon | Download |
| Windows | x86-64 / Intel or AMD | Download |
| Windows | ARM64 | Download |
Download SHA256SUMS alongside your archive and compare the matching line before extracting: sha256sum on Linux, shasum -a 256 on macOS, Get-FileHash -Algorithm SHA256 in PowerShell. Each archive holds the executable, the licence files and the command and operation guides.
For example, after downloading and checking the Linux x86-64 archive:
tar -xzf forgeschema_linux_amd64.tar.gz
cd forgeschema_linux_amd64
./forgeschema version
./forgeschema help
On Windows, extract the ZIP and run .\forgeschema.exe version from PowerShell. macOS and Windows binaries aren’t signed or notarized. Every release is built and published automatically once the full test suite passes on PostgreSQL 16, 17 and 18, and the Linux ARM64, macOS Apple silicon and Windows x86-64 binaries are run on their own machines before it goes out. macOS Intel and Windows ARM64 are cross-compiled and not run.
Older alpha releases stay on the releases page.
To build from source, install Go 1.26 or later and clone the code repository:
go test ./...
go build -o bin/forgeschema ./cmd/forgeschema
./bin/forgeschema validate examples/shop.yaml
For a real migration, inspect the actual database first, use that snapshot as the source, review the saved plan and pause external DDL before apply. Apply takes exclusive locks on the tables a plan changes, which blocks application traffic on those tables; plan –explain lists them, and plan –online keeps index builds out of that lock. Verify is read-only. Read the capability matrix, execution guide and verification guide before use.
The browser demo replays actual earlier CLI recordings; it does not execute database changes. The walkthrough runs the real CLI against an explicitly disposable database. The engine code uses Apache License 2.0.