Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat: database column for outside processing on purchase order

Brad Barbine9eb69aaa51a
diff --git a/packages/database/supabase/migrations/20250330231242_purchase-outside-service.sql b/packages/database/supabase/migrations/20250330231242_purchase-outside-service.sql
new file mode 100644
index 0000000000..b9523c3d58
--- /dev/null
+++ b/packages/database/supabase/migrations/20250330231242_purchase-outside-service.sql
@@ -0,0 +1,3 @@
+ALTER TYPE "purchaseOrderType" ADD VALUE 'Outside Processing';
+
+ALTER TABLE "purchaseOrder" ADD COLUMN "purchaseOrderType" "purchaseOrderType" NOT NULL DEFAULT 'Purchase';
\ No newline at end of file