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: add tags column to custom fields table

Brad Barbin057f868ac28a
diff --git a/packages/database/supabase/migrations/20241119033335_redefine-views.sql b/packages/database/supabase/migrations/20241119033335_redefine-views.sql
index ac53e67e5c..1bb2fdf315 100644
--- a/packages/database/supabase/migrations/20241119033335_redefine-views.sql
+++ b/packages/database/supabase/migrations/20241119033335_redefine-views.sql
@@ -1,3 +1,5 @@
+ALTER TABLE "customField" ADD COLUMN "tags" TEXT[] DEFAULT ARRAY[]::TEXT[];
+
CREATE OR REPLACE VIEW "customFieldTables" WITH(SECURITY_INVOKER=true) AS
SELECT
cft.*,