Add default metadata & make replaceFile function

This commit is contained in:
2025-06-01 16:36:29 -05:00
parent dc7cec8539
commit f49488123b
33 changed files with 194 additions and 51 deletions

View File

@ -58,6 +58,12 @@ create policy "Avatar images are publicly accessible." on storage.objects
create policy "Anyone can upload an avatar." on storage.objects
for insert with check (bucket_id = 'avatars');
create policy "Anyone can update an avatar." on storage.objects
for update using (bucket_id = 'avatars');
create policy "Anyone can delete an avatar." on storage.objects
for delete using (bucket_id = 'avatars');
-- -- Create a table for public statuses
-- CREATE TABLE statuses (
-- id uuid DEFAULT gen_random_uuid() PRIMARY KEY,