summaryrefslogtreecommitdiff
path: root/sql/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sql/modules')
-rw-r--r--sql/modules/Voucher.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/modules/Voucher.sql b/sql/modules/Voucher.sql
index 736abcfc..4cf04c6a 100644
--- a/sql/modules/Voucher.sql
+++ b/sql/modules/Voucher.sql
@@ -335,7 +335,7 @@ BEGIN
END;
$$ language plpgsql SECURITY DEFINER;
-REVOKE ALL ON FUNCTION batch__delete(int) FROM PUBLIC;
+REVOKE ALL ON FUNCTION batch_delete(int) FROM PUBLIC;
CREATE OR REPLACE FUNCTION voucher__delete(in_voucher_id int)
RETURNS int AS
@@ -375,4 +375,4 @@ BEGIN
END;
$$ LANGUAGE PLPGSQL SECURITY DEFINER;
-REVOKE ALL ON voucher__delete FROM public;
+REVOKE ALL ON FUNCTION voucher__delete(int) FROM public;