Skip to content

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

chore: remove release guard for schema editor of Postgres (#4215)

boojack46f3104c898f
diff --git a/frontend/src/utils/schemaEditor/index.ts b/frontend/src/utils/schemaEditor/index.ts
index a2abe67a8c..82e259297f 100644
--- a/frontend/src/utils/schemaEditor/index.ts
+++ b/frontend/src/utils/schemaEditor/index.ts
@@ -1,14 +1,9 @@
import { Database, EngineType } from "@/types";
-import { isDev } from "../util";
// Only allow using Schema Editor with MySQL.
export const allowUsingSchemaEditor = (databaseList: Database[]): boolean => {
return databaseList.every((db) => {
- return (
- db.instance.engine === "MYSQL" ||
- // TODO(steven): remove release guard later.
- (isDev() && db.instance.engine === "POSTGRES")
- );
+ return db.instance.engine === "MYSQL" || db.instance.engine === "POSTGRES";
});
};