bio-nexus-api / bioai-platform /supabase /migrations /007_add_pathway_enrichment_status.sql
Samad14's picture
fix: prevent opacity flicker on job results page, add pathway_enrichment migration
3cc87a8
Raw History Blame Contribute Delete
365 Bytes
-- Add pathway_enrichment to the jobs.status CHECK constraint
ALTER TABLE jobs DROP CONSTRAINT IF EXISTS jobs_status_check;
ALTER TABLE jobs ADD CONSTRAINT jobs_status_check
CHECK (status IN (
'queued', 'running', 'complete', 'failed',
'submitted_to_ncbi', 'polling_ncbi', 'parsing',
'interpreting', 'pathway_enrichment', 'fetching_alphafold'
));