How to set a foreign key after creating a Custom Data Type?

I created cdt after that i need to add foreign key, to link into the view table

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data