Validation at both model and migration level