Message here
The storage bucket for images is missing. Please follow these steps in your Supabase Dashboard:
imagesYour database needs an update to support download counts and ownership. Run this in your SQL Editor:
-- 1. Add columns if missing alter table live_wall add column if not exists user_id uuid references auth.users; alter table live_wall add column if not exists user_email text; -- Added email column alter table live_wall add column if not exists downloads int default 0; -- 2. Enable RLS alter table live_wall enable row level security; -- 3. Reset & Create Policies drop policy if exists "Public View" on live_wall; create policy "Public View" on live_wall for select using ( true ); drop policy if exists "Public Insert" on live_wall; create policy "Public Insert" on live_wall for insert with check ( true ); drop policy if exists "Public Update" on live_wall; create policy "Public Update" on live_wall for update using ( true ); drop policy if exists "Owner Delete" on live_wall; create policy "Owner Delete" on live_wall for delete using ( auth.uid() = user_id );