changed generator version and added migrations