66602596 fix revision table when deleting a resource