Add migration hook to deploy