In the guides and tutorials says that when you create a model, you create a migration that you then execute with rake db:migrate
.
But in what other cases do you have to create a migration and execute it?
When you change the model, do you have to create it? Is it necessary to create it manually or can it be generated automatically?