Skip to content

Commit

Permalink
Swap out supabase project config
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesTaylor7 committed May 27, 2024
1 parent 9df76bc commit 3d1c7ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 39 deletions.
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ primary_region = "iad"


[env]
SUPABASE_PROJECT_URL="https://ryvsflpspddwwacxrnst.supabase.co"
SUPABASE_PROJECT_URL="https://evxmubvmcxgvukfvjhgz.supabase.co"
38 changes: 0 additions & 38 deletions supabase/migrations/20240512200629_remote_schema.sql

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
ALTER DEFAULT PRIVILEGES FOR ROLE "postgres" IN SCHEMA "public" REVOKE TRUNCATE ON TABLES FROM "anon";
ALTER DEFAULT PRIVILEGES FOR ROLE "postgres" IN SCHEMA "public" REVOKE TRUNCATE ON TABLES FROM "authenticated";

GRANT SELECT ON TABLE "auth"."users" TO "service_role";

-- Function that allows us to use RLS policies for either direct database connections
-- or Supabase data api calls. (postgrest or graphql).
CREATE FUNCTION current_user_id() RETURNS "uuid"
Expand Down

0 comments on commit 3d1c7ac

Please sign in to comment.