0
votes

i am using sequelize cli, when i am created a model then migrations automatically created, but when i made changes on my model,then migrations can't automatically updated,so whether we can synchronize the changes that occur in the model to migration ?

thanks so much

1
Could you please provide more information about your problem? Perhaps show some of your code! - Thomas Wagenaar
its okay, the problem has been solved thanks @ThomasW - Azhar Prabudi

1 Answers

0
votes

You can write migrations for all the changes. Sequelize cli provides operation like db:migrate:create.

You can refer the documentation for more info