add foreign key constraint to cascade delete external link tables
when discourse users or groups are deleted