VR Migrations is a database migration and seeding library for Node.js applications, built on Sequelize. It supports PostgreSQL, MySQL, SQLite, and other Sequelize-compatible databases. The package is actively maintained with frequent updates (current stable version 1.0.38, released in 2025). It offers CLI and programmatic migration management, with TypeScript type definitions included. Key differentiators from generic migration tools (like db-migrate) include tight integration with Sequelize models and a VR-themed API (universe, planets for migrations/seeds).
npm install vr-migrationsVerified import paths — ran on the pinned version, not inferred.
Shows how to run migrations and seed using an in-memory SQLite database with the library's provided functions.
Replace `import VrMigrations from 'vr-migrations'` with `import { migrate, seed } from 'vr-migrations'`.Use `migrate` function instead.
Import named symbols to get full type support.
Ensure your project uses Sequelize v6.x.
Switch to ES modules or use dynamic import: `const { migrate } = await import('vr-migrations')`Run `npm install vr-migrations` and verify the import is correct.
Ensure you pass a configured Sequelize instance: `migrate({ sequelize: yourSequelizeInstance })`