Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: update table name regex (#8834)
boojack3311fde6cb6f
diff --git a/frontend/src/components/SchemaEditorV1/Modals/TableNameModal.vue b/frontend/src/components/SchemaEditorV1/Modals/TableNameModal.vueindex b55348297e..722b7e5b39 100644--- a/frontend/src/components/SchemaEditorV1/Modals/TableNameModal.vue+++ b/frontend/src/components/SchemaEditorV1/Modals/TableNameModal.vue@@ -47,7 +47,8 @@ import {convertTableMetadataToTable,} from "@/types/v1/schemaEditor";-const tableNameFieldRegexp = /^\S+$/;+// Table name must start with a non-space character, end with a non-space character, and can contain space in between.+const tableNameFieldRegexp = /^\S[\S ]*\S?$/;interface LocalState {tableName: string;