custishacks: fix adding foreign key to tnerp_wbs_mapping