bun-psql-migrations

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

Lightweight PostgreSQL migration tool for Bun v1.0.2. Uses Bun's built-in SQL client, no external drivers. Features timestamp-based migration files, transaction-safe up/down SQL, CLI commands (init, create, migrate, rollback, reset), and a programmatic API. Zero-config with DATABASE_URL. Minimal dependencies (pino for logging). Suitable for Bun projects that need simple, team-friendly schema migrations without heavy ORMs.