cd /news/developer-tools/migratrom-schema-migrations-you-can-… · home topics developer-tools article
[ARTICLE · art-43306] src=migratrom.org ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Migratrom: Schema migrations you can trust your agent to write

Migratrom, a new open-source tool for PostgreSQL and SQLite, enables developers to write typed, self-verifying database schema migrations in their application language, with idempotent operations, tamper-evident history, and DAG-based ordering. The tool supports JavaScript (Bun, Node, Deno) and Swift runtimes, aiming to make schema changes as reliable as application code.

read1 min views1 publishedJun 29, 2026

DB schema migrations you can trust your agent to write.

Migratrom turns schema changes into typed, self-verifying operations for PostgreSQL and SQLite. Write migrations in your application language, prove each change, and keep applied history tamper-evident.

Why Migratrom? #

Typed, not textual

Schema changes are typed values in your language, not SQL files with hand-written up/down scripts. Refactor and review them like any other code.

Idempotent by construction

Every operation carries a postcheck: a boolean SQL probe that proves whether the change already exists. Re-running a migration batch is always safe.

Tamper-evident history

A SHA-256 checksum is stored with each applied migration. Editing the body of an already-applied migration is rejected with no silent drift.

DAG ordering

Migrations form a parent/child graph. The engine validates the graph and applies pending migrations in dependency order.

Multi-runtime

JavaScript supports Bun, Node, and Deno. Swift supports Swift 6.2+ with PostgresNIO or SQift. Same concepts, idiomatic implementations.

Multi-dialect

PostgreSQL and SQLite ship built in. Dialect selection is always explicit, so you always know which SQL you're generating.

Install #

JavaScript / TypeScript

bun add migratrom
npm install migratrom

Swift - add to Package.swift

:

.package(url: "https://github.com/migratrom/migratrom.swift", from: "0.1.0")
── more in #developer-tools 4 stories · sorted by recency
── more on @migratrom 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/migratrom-schema-mig…] indexed:0 read:1min 2026-06-29 ·