Registry / database / sequelize-migration-generator

sequelize-migration-generator

JSON →
library0.1.0jsnpmunverified

A minimal CLI tool for auto-generating Sequelize migration files from model definitions. Version 0.1.0 is the initial release. It reads a directory of Sequelize model files and outputs corresponding migration stubs. The tool is simple but offers no diffing, rollback, or version management. No active maintenance observed.

npm install sequelize-migration-generator
INSTALL
IMPORT
SIG · SEQUELIZE-MIGRATIO
S
sequelize-migration-generator
databasejavascriptv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CLI
npx sequelize-migration-generator ./models ./migrations
sequelize-migration-generator ./models ./migrations
This package provides a CLI tool, not a programmatic API. Use npx or install globally.

Generate migration files from Sequelize model files in the specified directory.

npx sequelize-migration-generator ./sequelize-models ./migrations
Debug
Known issues
gotchaThe tool does not support TypeScript or advanced Sequelize features like associations, hooks, or scopes.
fix
Manually edit generated migrations for complex models.
affects: 0.1.0
Errors
Common errors & fixes
Error: Cannot find module 'sequelize-migration-generator'
Package not installed globally or not in node_modules.
fix
Install globally: npm i -g sequelize-migration-generator, then run the command.
Upgrade
Version history
0.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
12
Meta
2
Amazon
1
Resources
sequelize-migration-generator — npm install sequelize-migration-generator · libregistry