finishing models and migrations