change deploy before restart to migrate