validate models and migrations