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.

331 B
Raw Blame
-- Planned overtime per people assignment: a delta on top of the person's shift
-- hours ("+2h OT"), authorized by the supervisor per station per date.
-- Total hours for the day = shift hours + "overtimeHours".
ALTER TABLE "peopleAssignment"
  ADD COLUMN "overtimeHours" NUMERIC NOT NULL DEFAULT 0
  CHECK ("overtimeHours" >= 0);