aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2022-12-19 10:12:44 +0100
committersonartech <sonartech@sonarsource.com>2022-12-19 20:02:45 +0000
commit3f65d60733e6f1f25dff5cd4ea09045886ff1cc3 (patch)
treed34fe4847acae105ce813ba3bf0edc1474c3575b /server/sonar-db-dao
parent9c3d9216a5164b7fcb118f8654d1c7400ad1c708 (diff)
downloadsonarqube-3f65d60733e6f1f25dff5cd4ea09045886ff1cc3.tar.gz
sonarqube-3f65d60733e6f1f25dff5cd4ea09045886ff1cc3.zip
SONAR-17777 Use suffix "sqb_" for project badge tokens
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/db/user/TokenType.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/user/TokenType.java b/server/sonar-db-dao/src/main/java/org/sonar/db/user/TokenType.java
index 3499f4cfd5f..3bc909be618 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/db/user/TokenType.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/db/user/TokenType.java
@@ -23,6 +23,7 @@ public enum TokenType {
USER_TOKEN("u"),
GLOBAL_ANALYSIS_TOKEN("a"),
+ PROJECT_BADGE_TOKEN("b"),
PROJECT_ANALYSIS_TOKEN("p");
private final String identifier;