Fix: idempotent migration policy creation
Stage — Build, push & deploy to marketing-stage / deploy-stage (push) Failing after 12s
Stage — Build, push & deploy to marketing-stage / deploy-stage (push) Failing after 12s
This commit was merged in pull request #100.
This commit is contained in:
@@ -15,6 +15,7 @@ CREATE TABLE IF NOT EXISTS public.demo_config (
|
|||||||
|
|
||||||
ALTER TABLE public.demo_config ENABLE ROW LEVEL SECURITY;
|
ALTER TABLE public.demo_config ENABLE ROW LEVEL SECURITY;
|
||||||
|
|
||||||
|
DROP POLICY IF EXISTS "service only" ON public.demo_config;
|
||||||
CREATE POLICY "service only" ON public.demo_config USING (false);
|
CREATE POLICY "service only" ON public.demo_config USING (false);
|
||||||
|
|
||||||
-- Seed the kill switch as enabled
|
-- Seed the kill switch as enabled
|
||||||
|
|||||||
@@ -15,4 +15,5 @@ CREATE TABLE IF NOT EXISTS public.user_api_keys (
|
|||||||
);
|
);
|
||||||
|
|
||||||
ALTER TABLE public.user_api_keys ENABLE ROW LEVEL SECURITY;
|
ALTER TABLE public.user_api_keys ENABLE ROW LEVEL SECURITY;
|
||||||
|
DROP POLICY IF EXISTS "service only" ON public.user_api_keys;
|
||||||
CREATE POLICY "service only" ON public.user_api_keys USING (false);
|
CREATE POLICY "service only" ON public.user_api_keys USING (false);
|
||||||
|
|||||||
Reference in New Issue
Block a user