diff --git a/bin/pwdb b/bin/pwdb index 9a0946e..55a6963 100755 --- a/bin/pwdb +++ b/bin/pwdb @@ -180,6 +180,15 @@ EOF do db_exec "GRANT SELECT ON ${x} TO funnel;" photowall 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 }