Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove release guard for UI editor (#3788)

boojack60ef20ec1748
diff --git a/frontend/src/utils/UIEditor/index.ts b/frontend/src/utils/UIEditor/index.ts
index 96f856de87..cad2597922 100644
--- a/frontend/src/utils/UIEditor/index.ts
+++ b/frontend/src/utils/UIEditor/index.ts
@@ -1,14 +1,10 @@
import { Database, EngineType } from "@/types";
-import { isDev } from "..";
-// Only allow using UI Editor with MySQL in dev mode.
+// Only allow using UI Editor with MySQL.
export const allowUsingUIEditor = (databaseList: Database[]): boolean => {
- return (
- isDev() &&
- databaseList.every((db) => {
- return db.instance.engine === "MYSQL";
- })
- );
+ return databaseList.every((db) => {
+ return db.instance.engine === "MYSQL";
+ });
};
export const getDataTypeSuggestionList = (engineType: EngineType = "MYSQL") => {