I'm a beginner and I'm using Sequelize for my database. I created the model, did a migration after creating it, then added mocks & seeds but realized that I made a mistake for two attributes' data types. I need to change that but I'm not sure what the correct way to do this.
Do I have to:
sequelize db:migrate:undo
and then make my changes in the model and then run a migration?
Or do I have to drop the model and recreate it?
I guess, I'm not completely sure what a migration does in the scheme of things.