easy-migrate is a migration framework for Node.js that automatically generates up and down migration scripts by comparing Sequelize model configuration files with the current database schema. Version 1.1.6 (latest) supports MySQL only, with limited data types (INT, VARCHAR, DECIMAL, DATETIME, DATE, TEXT, LONGTEXT). It provides a CLI tool (migrate) with create, up, down, and config commands. Unlike general migration tools, it automates migration content generation based on model definition changes, reducing manual SQL writing. The project appears to be in maintenance mode with no recent updates and limited community activity.
npm install easy-migrateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows model definition, database configuration, and CLI usage to auto-generate a migration file.
Use a different migration tool if you need multi-database support.
Use DECIMAL for FLOAT/DOUBLE, VARCHAR for CHAR. Check Sequelize documentation for compatible types.
Consider using a more actively maintained migration tool like db-migrate or sequelize-cli.
Use full path or rename alias to avoid conflicts.
Change dialect to 'mysql' or use a different migration tool that supports PostgreSQL.
Replace 'FLOAT' with 'DECIMAL' in model definition.
Add a valid type (e.g., 'INT', 'VARCHAR', etc.) to the column configuration.