pidrio / project /supabase /migrations /20250524214705_sunny_sunset.sql
Raiff1982's picture
Upload 51 files
43172ae verified
raw
history blame contribute delete
448 Bytes
/*
# Storage bucket and policies setup
1. Changes
- Creates storage bucket for file storage
- Sets up RLS policies for authenticated users
2. Security
- Enables secure file access for authenticated users
- Implements proper access control through RLS policies
*/
-- Create the storage bucket if it doesn't exist
INSERT INTO storage.buckets (id, name)
VALUES ('codette-files', 'codette-files')
ON CONFLICT (id) DO NOTHING;