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.

324 B
Raw Blame
-- 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);