Loading jobs from Supabaseβ¦
Run this SQL in your Supabase dashboard β SQL Editor to create the storage table:
-- Run once in Supabase SQL Editor CREATE TABLE IF NOT EXISTS public.circulars ( id bigint GENERATED ALWAYS AS IDENTITY PRIMARY KEY, circular_name text NOT NULL, total_jobs integer NOT NULL, chunk_index integer NOT NULL DEFAULT 0, total_chunks integer NOT NULL DEFAULT 1, jobs_json jsonb NOT NULL, saved_at timestamptz DEFAULT now() ); -- Allow anyone to read (public app) ALTER TABLE public.circulars ENABLE ROW LEVEL SECURITY; CREATE POLICY "public read" ON public.circulars FOR SELECT USING (true); CREATE POLICY "public insert" ON public.circulars FOR INSERT WITH CHECK (true); CREATE POLICY "public delete" ON public.circulars FOR DELETE USING (true);
Loading jobs from Supabaseβ¦