diff --git a/src/routes/settings.import.tsx b/src/routes/settings.import.tsx index 2eca362..34f20ba 100644 --- a/src/routes/settings.import.tsx +++ b/src/routes/settings.import.tsx @@ -280,7 +280,9 @@ const IMPORTERS: ImporterConfig[] = [ } else if (s === "on hold" || s === "hold") { r.status = "on_hold"; } else { - delete r.status; + // Default to 'intake' when no explicit status — avoids NULL violations + // in batched upserts where Postgrest sends the column union. + r.status = "intake"; } // Normalise billing method if (r.billing_method) {