A CLI tool to generate Sequelize model files from a MySQL database schema or create tables from existing model files. Version 0.1.13 is the latest, developed in CoffeeScript with limited updates. Supports MySQL only, with configurable dialect, output directory, indentation, and camelCase naming. Differentiates from sequelize-auto by supporting both export and import directions via a simple command line interface.
npm install sequelize-db-export-importNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Generate Sequelize model files from a MySQL database with default settings.
Ensure database is MySQL and use -m mysql.
Consider using sequelize-auto for active development and broader support.
Use `npx sequelize-db-export-import seq-ei ...` or install globally.
Run npm install -g sequelize-db-export-import; ensure dependencies are installed.
Verify the database name with `SHOW DATABASES;`
Start MySQL service and check host and port parameters.