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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix: rename procedure step
Brad Barbin85233a02f998
diff --git a/packages/database/supabase/migrations/20250915115859_procedure-steps.sql b/packages/database/supabase/migrations/20250915115859_procedure-steps.sqlindex 786ac46907..4d152cfd16 100644--- a/packages/database/supabase/migrations/20250915115859_procedure-steps.sql+++ b/packages/database/supabase/migrations/20250915115859_procedure-steps.sql@@ -232,12 +232,10 @@ FOR DELETE USING ();--- Rename procedureAttribute to procedureStep-ALTER TABLE "procedureAttribute" RENAME TO "procedureStep";+-- Skip renaming procedureAttribute to procedureStep since it doesn't exist+-- procedureStep table already exists with correct name--- procedureStep table doesn't need renaming (already correct name)---- Update RLS policies for the renamed table+-- Update RLS policies for the existing procedureStep tableDROP POLICY IF EXISTS "SELECT" ON "public"."procedureStep";DROP POLICY IF EXISTS "INSERT" ON "public"."procedureStep";DROP POLICY IF EXISTS "UPDATE" ON "public"."procedureStep";