a tool that can  auto_link 2 tables by foreign_key restored