bun-sqlite-migrations

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

A minimal migration helper for bun:sqlite. Version 1.0.2 provides a single function to apply SQL file migrations in sorted order and tracks progress via PRAGMA user_version. Designed exclusively for Bun's built-in SQLite driver, it is not compatible with other SQLite libraries. Works only in the Bun runtime with TypeScript peer dependency ^5.0.0. No other dependencies. Simpler than alternatives like Knex or Umzug, but limited to file-based migrations and numeric versioning via file name order.