For each association in the Item object, add onDelete = "SET NULL" to the @JoinColumn annotation. Inside your location and tag objects, find JoinColumn annotations and add onDelete = "SET NULL" to link to "Item". Under the RssFeed object, find each @JoinColumn annotation and add onDelete = "SET NULL". Please note that you can also use Doctrine cascading operations to achieve this goal (ie Cascade = {"remove"}, etc., however, it will probably be much slower because the work is not performed at the RDBMS level.
source share