Added model validations, added migration validations