Completed construction of models and migrations