Skip to content

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

Rename “BOT” to “SYSTEM_BOT”

天舟1b006c4e95be
diff --git a/frontend/src/miragejs/fixtures/principalList.json b/frontend/src/miragejs/fixtures/principalList.json
index 00759361e4..c58f66a0e9 100644
--- a/frontend/src/miragejs/fixtures/principalList.json
+++ b/frontend/src/miragejs/fixtures/principalList.json
@@ -6,7 +6,7 @@
"createdTs": 1614528000000,
"creatorId": "1",
"status": "ACTIVE",
- "type": "BOT",
+ "type": "SYSTEM_BOT",
"name": "Bytebase",
"email": "",
"passwordHash": ""
diff --git a/frontend/src/types/principal.ts b/frontend/src/types/principal.ts
index 13b249c37f..84ff2e7517 100644
--- a/frontend/src/types/principal.ts
+++ b/frontend/src/types/principal.ts
@@ -7,7 +7,7 @@ import { RoleType } from "./member";
// we may support application/bot identity.
export type PrincipalStatus = "INVITED" | "ACTIVE";
-export type PrincipalType = "END_USER" | "BOT";
+export type PrincipalType = "END_USER" | "SYSTEM_BOT";
export type Principal = {
id: PrincipalId;