UPDATE ItemGroups SET prerequisiteContractItemGroupId = NULL;
DELETE FROM ItemGroups;