Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions migrations/tenant/0038-grant-with-grant-option.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
do $$
declare
super_user text = coalesce(current_setting('storage.super_user', true), 'postgres');
begin
execute 'grant all on storage.buckets, storage.objects to ' || super_user || ' with grant option';
end $$;
Loading