[server][DBAgent] Add a constructor of TableProfile.