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,6 @@
|
||||
|
||||
-- Add visibility array column to documents
|
||||
ALTER TABLE public.documents ADD COLUMN IF NOT EXISTS visibility text[] NOT NULL DEFAULT '{}';
|
||||
|
||||
-- Migrate existing is_public=true documents to include 'public' in visibility
|
||||
UPDATE public.documents SET visibility = ARRAY['public'] WHERE is_public = true AND visibility = '{}';
|
||||
Reference in New Issue
Block a user