generating migration