Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: extract classification (#10933)
ecmadaoe291dc0f8b12
diff --git a/backend/common/db_schema.go b/backend/common/db_schema.goindex fdaafdf062..37a7d7287e 100644--- a/backend/common/db_schema.go+++ b/backend/common/db_schema.go@@ -5,7 +5,7 @@ import ("strings")-var getClassificationFromCommentReg = regexp.MustCompile("^[0-9]+-[0-9]+-[0-9]+")+var getClassificationFromCommentReg = regexp.MustCompile("^[0-9]+(-([0-9])+){0,}")// GetClassificationAndUserComment parses classification and user comment from the given comment.func GetClassificationAndUserComment(comment string) (string, string) {