Egg Migration Template
JSON →CLI tool to auto-generate migration, model, and service files for Egg.js applications using customizable templates. Version 3.0.5 is the latest stable release. It reduces boilerplate by reading database/config.json and producing create-table migrations, model classes, and service files. Differentiators: opinionated for Egg.js ecosystem, supports multi-environment DB config, and uses Handlebars-like templates. Release cadence is low, with infrequent updates. Requires a specific project layout (templates directory, database structure).
Resources
packageegg-migration-template ↗
API endpoints
full doc /v1/registry/egg-migration-template