Let photowall own materialized views

This commit is contained in:
Rikard Bartholf
2025-06-23 11:42:44 +02:00
parent adf7c5e9a1
commit 963c5fa435
+9
View File
@@ -180,6 +180,15 @@ EOF
do do
db_exec "GRANT SELECT ON ${x} TO funnel;" photowall db_exec "GRANT SELECT ON ${x} TO funnel;" photowall
done done
for x in $(cat <<-EOF
v_categorytree
v_esales_category_count
v_esales_categorytree_i18n
EOF
)
do
db_exec "ALTER VIEW ${x} OWNER TO photowall;" photowall
fi fi
} }