Please review: Ticket #47621 - make referential integrity configuration more flexible