node-sql-migrations

JSON →
library 1.0.5 ·javascript maintenance
verified Jun 5, 2026

Minimal raw SQL migration runner for Node.js that supports PostgreSQL and MySQL. Version 1.0.5 (last release appears to be 2018) is a low-activity library focused on raw SQL files and a simple CLI. Unlike Knex or Sequelize migrations, this library has zero ORM dependencies and uses plain SQL files with up/down pairs. It provides programmatic API (migrate, rollback, create) with promise support, configurable logger, optional SQL parameter substitution, and min migration timestamp filtering. Lacks built-in seeding or advanced features; maintained but no recent updates.