stein-orm-migrations v11.7.2 provides automatic database migrations for stein-orm, forked from fl-migrations. It supports up/down migrations with file-based configuration and JavaScript callbacks. The package is stable but appears to be in maintenance mode with infrequent updates. Unlike more active alternatives like Knex migrations, it is tightly coupled to stein-orm and lacks CLI tooling.
npm install stein-orm-migrationsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import Migrations, initialize with path/pattern, and run migration.
Consider migrating to Knex migrations or other active migration tools
Always export { up, down } from migration filesPrefix migration files with zero-padded numbers (e.g., 00001.js)
Run 'npm install stein-orm-migrations'
Ensure import is correct: import { Migrations } from 'stein-orm-migrations' then instantiate with 'new Migrations(...)'Export an object with an 'up' function from each migration file