added migration info, model validations