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.

388 B
Raw Blame
-- Project as a journal dimension. valueId on journalLineDimension is polymorphic
-- (points at project.id for this entity type). A newly-added enum value cannot be
-- consumed in the same transaction that adds it, so the group-level dimension row
-- backfill lives in a separate, later migration (accounting-projects).
ALTER TYPE "dimensionEntityType" ADD VALUE IF NOT EXISTS 'Project';