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: add material tables to realtime publication

Brad Barbin44b7389a7f95
diff --git a/packages/database/supabase/migrations/20241119134231_realtime-saeki.sql b/packages/database/supabase/migrations/20241119134231_realtime-saeki.sql
new file mode 100644
index 0000000000..bc6d55fd00
--- /dev/null
+++ b/packages/database/supabase/migrations/20241119134231_realtime-saeki.sql
@@ -0,0 +1,5 @@
+
+ALTER PUBLICATION supabase_realtime ADD TABLE "material";
+ALTER PUBLICATION supabase_realtime ADD TABLE "materialForm";
+ALTER PUBLICATION supabase_realtime ADD TABLE "materialSubstance";
+ALTER PUBLICATION supabase_realtime ADD TABLE "customField";
\ No newline at end of file