token move to sql