Skip to content

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

Use the existing uuid package instead of introducing a new vue-uuid package

天舟9d265cba40af
diff --git a/frontend/package.json b/frontend/package.json
index c62869894a..a9b7b4b9f2 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -23,7 +23,6 @@
"uuid": "^8.3.2",
"vue": "^3.0.11",
"vue-router": "^4.0.8",
- "vue-uuid": "^2.0.2",
"vuex": "^4.0.0"
},
"devDependencies": {
diff --git a/frontend/src/components/DatabaseBackupPanel.vue b/frontend/src/components/DatabaseBackupPanel.vue
index 2eb1d6767f..918daf94fe 100644
--- a/frontend/src/components/DatabaseBackupPanel.vue
+++ b/frontend/src/components/DatabaseBackupPanel.vue
@@ -51,7 +51,7 @@
import { computed, reactive, PropType, ComputedRef } from "vue";
import { useStore } from "vuex";
import { useRouter } from "vue-router";
-import { uuid } from 'vue-uuid';
+import { v1 as uuidv1 } from "uuid";
import { Backup } from "../types";
import BackupTable from "../components/BackupTable.vue";
@@ -72,7 +72,7 @@ export default {
const router = useRouter();
const state = reactive<LocalState>({
- backupName: uuid.v1(),
+ backupName: uuidv1(),
backupPath: "backup.sql",
});