Add env credentials in config/config.json
-
Genrate new migrations
sequelize migration:generate --name <name>
-
Run migrations
sequelize db:migrate --env <name>
-
Undo migrations
sequelize db:migrate:undo
sequelize db:migrate:undo:all
-
Genrate new seeder
sequelize seed:generate
-
Run seeders
sequelize db:seed --seed <name>
sequelize db:seed:all
-
Undo seeders
sequelize db:seed:undo
sequelize db:seed:undo:all