complete transfering phd into db