Skip to content

Commit

Permalink
fix: indexing table permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dOrgJelli committed Jan 29, 2024
1 parent 4ce00b5 commit 60a09e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/supabase/migrations/20240118150300_gitcoin.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ GRANT USAGE ON SCHEMA indexing TO service_role;
GRANT ALL ON ALL TABLES IN SCHEMA indexing TO service_role;
GRANT ALL ON ALL ROUTINES IN SCHEMA indexing TO service_role;
GRANT ALL ON ALL SEQUENCES IN SCHEMA indexing TO service_role;
ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA indexing GRANT ALL ON TABLES TO anon, authenticated, service_role;
ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA indexing GRANT ALL ON ROUTINES TO anon, authenticated, service_role;
ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA indexing GRANT ALL ON SEQUENCES TO anon, authenticated, service_role;

create table "indexing"."gitcoin_projects" (
"id" text not null,
Expand Down

0 comments on commit 60a09e8

Please sign in to comment.