fresh_sequelize

1.0.2 • Public • Published

fresh_sequelize

Package to refresh database migrations and seeders with sequelize. Inspiration from laravel migrate:fresh

Requirement

  • node js and npm . because this is npm package.
  • install sequelize and sequelize cli first, because this pakcage just work with sequelize.

How To Install

better install it globally

npm install -g fresh_sequelize

How To Use

open your terminal and run those command

$ fresh 
// will run help

$ fresh migrate
// will run sequelize db:migrate:undo:all && sequelize db:migrate

$ fresh migrate seed
// will run sequelize db:migrate:undo:all && sequelize db:migrate && sequelize db:seed:all

Package Sidebar

Install

npm i fresh_sequelize

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

2.6 kB

Total Files

3

Last publish

Collaborators

  • haidarafif