Skip to content

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

chore: use underscore instead of dash for random index name (#10193)

h3n4l13f21ef12c64
diff --git a/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue
index 8dbb6e2c89..c8bfb8047d 100644
--- a/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue
+++ b/frontend/src/components/SchemaEditorLite/Panels/TableEditor.vue
@@ -360,7 +360,7 @@ const handleAddIndex = () => {
// eslint-disable-next-line vue/no-mutating-props
props.table.indexes.push(
IndexMetadata.fromPartial({
- name: `${props.table.name}-index-${randomString(8).toLowerCase()}`,
+ name: `${props.table.name}_index_${randomString(8).toLowerCase()}`,
})
);
markTableStatus("updated");