sequelize-auto-migration-generator
Version:
Generate Sequelize migrations automatically
22 lines (11 loc) • 591 B
Markdown
## Sequelize Automatic Migration Generator
### only for already created database
follow these steps to generate your migration script
1. run command `yarn`
2. for script generating first configure your database in sequelize.config.js file
3. for migartion running first configure database.json file in config directory
4. run command `yarn generate`
5. run command `yarn migration:up` for creating
6. run command `yarn migration:down` for reverting
### Note
Make sure that shell script file is generated by our personal purpose you can modify it by your need.