From 86d68a672bc3243fe8d3252b7c757675e734c478 Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <zack@upsilon.cc>
Date: Fri, 9 Feb 2018 12:48:40 +0100
Subject: [PATCH] doc: update table clusters in SQL diagram

---
 sql/clusters.dot | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

diff --git a/sql/clusters.dot b/sql/clusters.dot
index ecc1b7189..e8f75e48e 100644
--- a/sql/clusters.dot
+++ b/sql/clusters.dot
@@ -39,6 +39,9 @@ subgraph "logical_grouping" {
 		label = <<b>snapshots</b>>;
 		occurrence;
 		occurrence_history;
+		snapshot;
+		snapshot_branch;
+		snapshot_branches;
 	}
 
 	subgraph cluster_origins {
@@ -57,11 +60,16 @@ subgraph "logical_grouping" {
 		list_history;
 	}
 
-	subgraph cluster_provenance {
-		label = <<b>provenance</b>>;
-		cache_revision_origin;
-		cache_content_revision;
-		cache_content_revision_processed;
+	subgraph cluster_metadata {
+                label = <<b>metadata</b>>;
+                metadata_provider;
+                origin_metadata;
+		tool;
+	}
+
+	subgraph cluster_statistics {
+                label = <<b>statistics</b>>;
+                object_counts;
 	}
 
 	{
@@ -84,16 +92,4 @@ subgraph "logical_grouping" {
 		"entity_history":rtcol3 -> "entity_history":ltcol2;
 		"entity_history":rtcol10 -> "listable_entity":ltcol1;
 	}
-
-	subgraph cluster_metadata {
-                label = <<b>metadata</b>>;
-                content_metadata;
-                revision_metadata;
-	}
-
-	subgraph cluster_statistics {
-                label = <<b>statistics</b>>;
-                object_counts;
-	}
-
 }
-- 
GitLab