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.

fix(database): drop deprecated NUMERIC literal from migration comment (#1415)

Brad Barbinccb90a9ef5ca
diff --git a/packages/database/supabase/migrations/20260817122328_intercompany-revenue-cogs-elimination.sql b/packages/database/supabase/migrations/20260817122328_intercompany-revenue-cogs-elimination.sql
index 3020304909..7d39646a24 100644
--- a/packages/database/supabase/migrations/20260817122328_intercompany-revenue-cogs-elimination.sql
+++ b/packages/database/supabase/migrations/20260817122328_intercompany-revenue-cogs-elimination.sql
@@ -67,7 +67,7 @@ DO $$ BEGIN
END $$;
-- 2. Widen intercompanyTransaction.amount to bare NUMERIC (numeric-precision
--- convention; grounded gap — was NUMERIC(19,4)).
+-- convention; grounded gap — was a fixed-precision numeric column).
ALTER TABLE "intercompanyTransaction" ALTER COLUMN "amount" TYPE NUMERIC;
-- 3. Capture table ----------------------------------------------------------