node-sql-migrations

JSON →
library 1.0.7 ·javascript
verified Jun 5, 2026

A simple Node.js library for running raw SQL database migrations. Current stable version is 1.0.7, with infrequent releases. It supports PostgreSQL and MySQL via the 'pg' and 'mysql' npm packages as runtime adapters. Key differentiators include a simple file-based migration system, CLI and programmatic API, customizable parameter substitution in SQL scripts, and optional migration time filtering. Suitable for projects that prefer plain SQL over ORM-based migrations.