-
Notifications
You must be signed in to change notification settings - Fork 365
Add new migration for signup tracking #3569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Summary
🧪 1 passed
|
'Enable tracking of user signups' | ||
) ON CONFLICT (key) DO NOTHING; | ||
ALTER TABLE public.system_config ENABLE ROW LEVEL SECURITY; | ||
CREATE POLICY "Allow postgres access to system_config" ON public.system_config FOR ALL TO postgres USING (true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fuck RLS
CREATE POLICY "Allow postgres access to system_config" ON public.system_config FOR ALL TO postgres USING (true); |
@@ -0,0 +1,69 @@ | |||
CREATE EXTENSION IF NOT EXISTS http; | |||
CREATE TABLE IF NOT EXISTS public.system_config ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this table will come in handy a lot, nice
'false', | ||
'Enable tracking of user signups' | ||
) ON CONFLICT (key) DO NOTHING; | ||
ALTER TABLE public.system_config ENABLE ROW LEVEL SECURITY; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ALTER TABLE public.system_config ENABLE ROW LEVEL SECURITY; | |
ALTER TABLE public.system_config ENABLE ROW LEVEL SECURITY; | |
REVOKE ALL PRIVILEGES ON TABLE public.system_config FROM anon; | |
REVOKE ALL PRIVILEGES ON TABLE public.system_config FROM authenticated; |
No description provided.