Skip to content

Commit c1f69bf

Browse files
authored
fix: correct permissions on functions upon restore (#678)
1 parent 13a3959 commit c1f69bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

migrations/db/migrations/20220713082019_pg_cron-pg_net-temp-perms-fix.sql

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ BEGIN
1414
IF pg_cron_installed
1515
THEN
1616
grant usage on schema cron to postgres with grant option;
17+
grant all on all functions in schema cron to postgres with grant option;
1718

1819
alter default privileges in schema cron grant all on tables to postgres with grant option;
1920
alter default privileges in schema cron grant all on functions to postgres with grant option;

0 commit comments

Comments
 (0)