-- Add 'queued' status to import_jobs
ALTER TABLE public.import_jobs DROP CONSTRAINT IF EXISTS import_jobs_status_check;
ALTER TABLE public.import_jobs ADD CONSTRAINT import_jobs_status_check CHECK (status IN ('running', 'done', 'error', 'paused', 'queued'));