sequelize-auto-migration-generator

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i sequelize-auto-migration-generator

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

4.62 kB

Total Files

7

Last publish

Collaborators

  • muhammaduxair