From 646b3d1185901fb9806095c729a724293578e629 Mon Sep 17 00:00:00 2001 From: ffranr Date: Wed, 11 Oct 2023 02:02:30 +0100 Subject: [PATCH] tapdb: remove universe namespace from stats group by The universe_stats view represents per asset/asset group aggregated stats. However, the universe namespace field is now specific to a proof type. This commit removes the namespace field from the stats group by. --- tapdb/sqlc/migrations/000007_universe.up.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapdb/sqlc/migrations/000007_universe.up.sql b/tapdb/sqlc/migrations/000007_universe.up.sql index 60e563db1..d3f02398d 100644 --- a/tapdb/sqlc/migrations/000007_universe.up.sql +++ b/tapdb/sqlc/migrations/000007_universe.up.sql @@ -84,4 +84,4 @@ CREATE VIEW universe_stats AS roots.namespace_root FROM universe_events u JOIN universe_roots roots ON u.universe_root_id = roots.id - GROUP BY roots.asset_id, roots.group_key, roots.namespace_root; + GROUP BY roots.asset_id, roots.group_key;