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): use bare NUMERIC in recreated get_method_tree signature

naveenkash3b156d12f1ee
diff --git a/packages/database/supabase/migrations/20260714084035_remove-bom-line-effectivity.sql b/packages/database/supabase/migrations/20260714084035_remove-bom-line-effectivity.sql
index 957ad8aa3e..86bb588919 100644
--- a/packages/database/supabase/migrations/20260714084035_remove-bom-line-effectivity.sql
+++ b/packages/database/supabase/migrations/20260714084035_remove-bom-line-effectivity.sql
@@ -32,7 +32,7 @@ RETURNS TABLE (
"kit" BOOLEAN,
"revision" TEXT,
"externalId" JSONB,
- "version" NUMERIC(10,2),
+ "version" NUMERIC,
"storageUnitIds" JSONB,
"isPickDescendant" BOOLEAN,
"replenishmentSystem" "itemReplenishmentSystem"