insert into storage.buckets (id, name, public)
values ('template-images', 'template-images', true)
on conflict (id) do nothing;

create policy "Public Access"
on storage.objects for select
using ( bucket_id = 'template-images' );

create policy "Allow Uploads"
on storage.objects for insert
with check ( bucket_id = 'template-images' );
