From 4e2c456c65e6a70af95992fe7677e581f2af43d6 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 18:19:22 +0000 Subject: [PATCH] Changes Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com> --- .../20260711181920_cb5615af-f3fd-407b-add7-95ab8e176b2b.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 supabase/migrations/20260711181920_cb5615af-f3fd-407b-add7-95ab8e176b2b.sql diff --git a/supabase/migrations/20260711181920_cb5615af-f3fd-407b-add7-95ab8e176b2b.sql b/supabase/migrations/20260711181920_cb5615af-f3fd-407b-add7-95ab8e176b2b.sql new file mode 100644 index 0000000..17178f3 --- /dev/null +++ b/supabase/migrations/20260711181920_cb5615af-f3fd-407b-add7-95ab8e176b2b.sql @@ -0,0 +1,3 @@ + +REVOKE EXECUTE ON FUNCTION public.has_active_kaka_subscription(UUID) FROM PUBLIC, anon, authenticated; +GRANT EXECUTE ON FUNCTION public.has_active_kaka_subscription(UUID) TO service_role;