mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
Add ACMCC app source, Supabase backend, and project config
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
ALTER TABLE public.announcements ADD COLUMN IF NOT EXISTS association_id uuid REFERENCES public.associations(id);
|
||||
|
||||
-- Allow anonymous users to read public announcements
|
||||
CREATE POLICY "Anyone can read public announcements"
|
||||
ON public.announcements FOR SELECT
|
||||
TO anon
|
||||
USING (visibility = 'public' AND status = 'active');
|
||||
Reference in New Issue
Block a user