Spaces:
Running
Running
File size: 448 Bytes
43172ae |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/*
# 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; |