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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
-- Split days: the hours an assignment occupies at its station. NULL = the
-- whole shift (the common case); a number = a partial-day slice, letting one
-- person's shift be dealt out across several stations sequentially.
ALTER TABLE "peopleAssignment"
ADD COLUMN "hours" NUMERIC
CHECK ("hours" IS NULL OR "hours" > 0);