From e8a0005b4987f6967870f9628f976f4b1698515c Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sat, 14 Sep 2024 11:10:16 +0200 Subject: [PATCH] hs_statistics_v --- sql/recursive-cte-experiments-for-accessible-uuids.sql | 2 +- src/main/resources/db/changelog/9-hs-global/9000-statistics.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/recursive-cte-experiments-for-accessible-uuids.sql b/sql/recursive-cte-experiments-for-accessible-uuids.sql index 669a6f24..84fa6e79 100644 --- a/sql/recursive-cte-experiments-for-accessible-uuids.sql +++ b/sql/recursive-cte-experiments-for-accessible-uuids.sql @@ -1,6 +1,6 @@ -- just a permanent playground to explore optimization of the central recursive CTE query for RBAC -select * from hs_statistics_view; +select * from hs_statistics_v; -- ======================================================== diff --git a/src/main/resources/db/changelog/9-hs-global/9000-statistics.sql b/src/main/resources/db/changelog/9-hs-global/9000-statistics.sql index 4386fcb9..30faa0d2 100644 --- a/src/main/resources/db/changelog/9-hs-global/9000-statistics.sql +++ b/src/main/resources/db/changelog/9-hs-global/9000-statistics.sql @@ -3,7 +3,7 @@ -- ============================================================================ --changeset hs-global-object-statistics:1 endDelimiter:--// -- ---------------------------------------------------------------------------- -CREATE VIEW hs_statistics_view AS +CREATE VIEW hs_statistics_v AS select * from (select count, "table" as "rbac-table", '' as "hs-table", '' as "type" from rbac.statistics_v