Skip to content

Commit f2d762a

Browse files
authored
Revert "Make enrichment_pipeline_runs.status NOT NULL with default 'running'"
1 parent 6014fde commit f2d762a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

supabase/migrations/20260303100000_digital_tray_products_enrichment_columns.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS public.enrichment_pipeline_runs (
2323
products_skipped INTEGER DEFAULT 0,
2424
products_failed INTEGER DEFAULT 0,
2525
errors JSONB DEFAULT '[]',
26-
status TEXT NOT NULL DEFAULT 'running' CHECK (status IN ('running', 'completed', 'failed', 'partial')),
26+
status TEXT CHECK (status IN ('running', 'completed', 'failed', 'partial')),
2727
enrichment_version TEXT,
2828
created_at TIMESTAMPTZ DEFAULT NOW()
2929
);

0 commit comments

Comments
 (0)