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: remove unique constraint from department name

Brad Barbin0b701e42ade9
diff --git a/packages/database/supabase/migrations/20250417003253_department-name-fix.sql b/packages/database/supabase/migrations/20250417003253_department-name-fix.sql
new file mode 100644
index 0000000000..37c80e8d16
--- /dev/null
+++ b/packages/database/supabase/migrations/20250417003253_department-name-fix.sql
@@ -0,0 +1 @@
+ALTER TABLE "department" DROP CONSTRAINT "department_name_key";
\ No newline at end of file