aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>2024-08-20 11:42:12 +0200
committersonartech <sonartech@sonarsource.com>2024-08-20 20:02:56 +0000
commit18368ef34d3a5ed844a6c0645e035e665f7a39c8 (patch)
tree2a1fa9a27a820f2dcf82dd6be799ac2b40c3b0cf /server/sonar-db-migration
parent8c468972d855a3de2c85537a4cae1adaeca2ca7f (diff)
downloadsonarqube-18368ef34d3a5ed844a6c0645e035e665f7a39c8.tar.gz
sonarqube-18368ef34d3a5ed844a6c0645e035e665f7a39c8.zip
SONAR-22521 fixed the issue where sometimes the upgrade warning text was not clear to the users
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/DatabaseVersion.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/DatabaseVersion.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/DatabaseVersion.java
index 4359efb47b3..7472fa89545 100644
--- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/DatabaseVersion.java
+++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/DatabaseVersion.java
@@ -31,6 +31,8 @@ public class DatabaseVersion {
* Note that the value can't be less than current LTA version.
*/
public static final long MIN_UPGRADE_VERSION = 6_802;
+ public static final String MIN_UPGRADE_VERSION_HUMAN_READABLE = "9.9";
+
private final MigrationSteps migrationSteps;
private final MigrationHistory migrationHistory;