Add cascade delete rules to entities