Skip to content

Commit

Permalink
tapdb: remove universe namespace from stats group by
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ffranr committed Oct 11, 2023
1 parent 689e054 commit 646b3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tapdb/sqlc/migrations/000007_universe.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 646b3d1

Please sign in to comment.