finished model validations and migrations