Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Adds some more diagrams

Coppleead3845885b8
diff --git a/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx b/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx
index 475ecb3f53f..ed168e6000e 100644
--- a/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx
+++ b/apps/www/_blog/2022-07-12-seen-by-in-postgresql.mdx
@@ -437,7 +437,7 @@ An average of `2.15ms` versus `2.05ms` with the simpler counter is a ~4% increas
A likely requirement from the original scenario that we've completely ignored is remembering _which_ users liked a certain post to. The easiest solution here is an "associative" table like this one:
-![tables with associative table](/images/blog/seen-by/posts-seen-by-users-assoc-table.png)
+![tables with associative table](/images/blog/seen-by/dbdiagram-advanced.png)
In SQL:
@@ -664,7 +664,7 @@ As is usually the case in academia and practice, we can make our problem drastic
One such reconfiguration would be storing the information as a graph:
-![graph of seen by relation](/images/blog/seen-by/graph-seen-by.png)
+![graph of seen by relation](/images/blog/seen-by/graph-seen-edges.png)
As you might imagine, finding the number of "seen-by" relations would simply be counting the number of edges out of one of the nodes!
diff --git a/apps/www/public/images/blog/seen-by/dbdiagram_advanced.png b/apps/www/public/images/blog/seen-by/dbdiagram_advanced.png
new file mode 100644
index 00000000000..119f52cb119
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/dbdiagram_advanced.png differ
diff --git a/apps/www/public/images/blog/seen-by/graph-seen-edges.png b/apps/www/public/images/blog/seen-by/graph-seen-edges.png
new file mode 100644
index 00000000000..b1ed1b6d538
Binary files /dev/null and b/apps/www/public/images/blog/seen-by/graph-seen-edges.png differ