Provide a relationship from the revision table to the main table