Skip to content

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

Remove host/port from environment seed model

天舟b32723ab93fb
diff --git a/frontend/src/miragejs/factories/environment.js b/frontend/src/miragejs/factories/environment.js
index edc1c7824d..c519c4726e 100644
--- a/frontend/src/miragejs/factories/environment.js
+++ b/frontend/src/miragejs/factories/environment.js
@@ -19,27 +19,5 @@ export default {
order(i) {
return i;
},
- host(i) {
- if (i == 0) {
- return "localhost";
- } else if (i == 1) {
- return "127.0.0.1";
- } else if (i == 2) {
- return "13.24.32.122";
- } else {
- return "mydb.com";
- }
- },
- port(i) {
- if (i == 0) {
- return "3306";
- } else if (i == 1) {
- return "";
- } else if (i == 2) {
- return "15202";
- } else {
- return "5432";
- }
- },
}),
};