Tech riderRev. 4 Oct 2026
- 1Runs onLinux, Mac, self-hosted, Windows
- 2CostsFree plan
- 3Rollback supportYes
- 4Self-hosted optionYes
- 5Migration formatmixed
5 lines stated Written from the maker's own pages: github.com

Overview
Refinery is ranked #12 of 73 in reverse engineering tools on Specifiction. It runs on Linux, macOS, Self-hosted, Windows. There is a free plan.
Refinery plans and pricing
All plansRefinery Free MIT-licensed SQL migration toolkit · database drivers must be selected as features github.com · 4 Oct 2026
Compared on reverse engineering tools
- Rollback support
- Yesgithub.com
- Self-hosted option
- Yesgithub.com
- Migration format
- mixedgithub.com
Facts
- Purpose
- Refinery is a SQL migration toolkit for Rust that runs migrations on a provided database connection.github.com · 4 Oct 2026
- Run modes
- Migrations can be embedded in Rust code or run through the refinery_cli command-line tool.github.com · 4 Oct 2026
- Migration formats
- Migrations can be SQL files or Rust modules with a migration function that returns a String.github.com · 4 Oct 2026
- Supported drivers
- The README lists postgres, tokio-postgres, mysql, mysql_async, rusqlite, and tiberius as supported drivers.github.com · 4 Oct 2026
- SQLx
- The README says SQLx can be used by providing a Config that implements Migrate.github.com · 4 Oct 2026
- Migration tracking
- Refinery records applied migration versions and metadata, then checks for divergent or missing migrations before executing unapplied ones.github.com · 4 Oct 2026
- Transactions
- By default, each migration runs in its own transaction; grouped mode can wrap all migrations in one transaction.github.com · 4 Oct 2026
- Embedded migrations
- The project can bake migrations into a binary so no additional files are needed when deployed.github.com · 4 Oct 2026
- Rollback
- To undo a migration, users must create a new migration and write the changes that reverse it.github.com · 4 Oct 2026
- Version limit
- Migration versions default to signed 32-bit integers; the int8-versions feature enables 64-bit versions and must be enabled before use on a database.github.com · 4 Oct 2026
- Additional drivers
- The maintainers say limited bandwidth favors maintaining additional database drivers in external repositories; the README names Klickhouse as an example.github.com · 4 Oct 2026
- Rust support
- The project aims to support stable Rust, the previous Rust version, and nightly.github.com · 4 Oct 2026
- License
- The project is licensed under the MIT License.github.com · 4 Oct 2026
- Source availability
- The project is published as a public GitHub repository.github.com · 4 Oct 2026
Best Refinery alternatives
See all 20 All accessCh 01 JEB Free planFree trialAPI from $100/mo7.7 All accessCh 02 radare2 Free planAndroidAPI Free to start7.6 All accessCh 03 rev.ng Free planAPILinux Free to start7.6 All accessCh 04 Rizin Free planAndroidiOS Free to start7.6 All accessCh 05 Binary Ninja Free planAPILinux Free to start7.5 All accessCh 06 Frida Free planAndroidAPI Free to start7.5
Where it ranks on Specifiction
Is Refinery yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/rust-db/refinery· checked 4 Oct 2026
- github.com/rust-db/refinery/blob/main/LICENSE· checked 4 Oct 2026



