Corrects errors in the models
Runs the migrations