Skip to content

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

fix: use uuid library instead of crypto.randomUUID for compatibility (#17720)

boojack01dc99b56897
diff --git a/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue b/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue
index c6641ed520..ed4b4d63ff 100644
--- a/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue
+++ b/frontend/src/components/Release/ReleaseDetail/NavBar/ApplyToDatabasePanel.vue
@@ -52,6 +52,7 @@
<script lang="ts" setup>
import { create } from "@bufbuild/protobuf";
import { NButton } from "naive-ui";
+import { v4 as uuidv4 } from "uuid";
import { computed, reactive } from "vue";
import { useRouter } from "vue-router";
import DatabaseAndGroupSelector, {
@@ -144,7 +145,7 @@ const handleCreate = async () => {
description: `Apply release "${release.value.title}" to selected databases.`,
specs: [
{
- id: crypto.randomUUID(),
+ id: uuidv4(),
config: {
case: "changeDatabaseConfig",
value: create(Plan_ChangeDatabaseConfigSchema, {