we should probably also delete the revision table.