An auto-migration and seeder tool for ElectronJs and Node.js applications using Sequelize ORM with relational databases (MSSQL, PostgreSQL, SQLite3). Version 0.0.7 (latest) provides a simple API to automate schema migration and seeding by passing a Sequelize instance and file paths. It stores completed migrations in SequelizeMeta table and seeders in SequelizeData, mirroring sequelize-cli. The tool is lightweight and integrates with Electron's main process, but lacks active maintenance—last updated in 2020, with unaddressed issues and no TypeScript support. Compared to sequelize-cli, it offers a programmatic alternative without CLI commands.
npm install sequelize-auto-migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: import with models, configure paths, run migration and seeding using callbacks.
Consider using sequelize-cli or other maintained migration tools.
Wrap in a promise or use async.waterfall as shown in examples.
Use 'const SequelizeAuto = require('sequelize-auto-migration')(models);'Run 'npm install sequelize-auto-migration'
Use: const SequelizeAuto = require('sequelize-auto-migration')(models);Ensure models object contains Sequelize instance with defined models.