Migrations - SequqlizeCLI and/or Umzug with node.js. Difference between using Sequelize CLI and Umzug?

1k views Asked by At

I am new to using Sequelize and Umzug with Node.js. I have installed the Sequelize CLI and have tested migrations and seems to work great. I read that umzug is used by some teams to create these migrations. I am not clear on what is the difference between using Sequelize-CLI and Umzug? Pros and cons of each? What is the ideal way to do migrations?

1

There are 1 answers

0
Sergey Yarotskiy On BEST ANSWER

No difference. Umzug is a JS library. Sequelize-CLI is a command line tool running umzug internally.