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.

feat: enable rls for gauge tables

Brad Barbin9091a8b6647f
diff --git a/packages/database/supabase/migrations/20250506151159_gauge-rls-2.sql b/packages/database/supabase/migrations/20250506151159_gauge-rls-2.sql
new file mode 100644
index 0000000000..6fab9d425d
--- /dev/null
+++ b/packages/database/supabase/migrations/20250506151159_gauge-rls-2.sql
@@ -0,0 +1,3 @@
+ALTER TABLE "gauge" ENABLE ROW LEVEL SECURITY;
+ALTER TABLE "gaugeCalibrationRecord" ENABLE ROW LEVEL SECURITY;
+ALTER TABLE "gaugeType" ENABLE ROW LEVEL SECURITY;