]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20486 Fix 10.2 migration on MSSQL, when auto-provisioning is ON
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Mon, 18 Sep 2023 07:30:01 +0000 (09:30 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 18 Sep 2023 20:03:41 +0000 (20:03 +0000)
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v102/AddUserConsentRequiredIfGithubAutoProvisioningEnabled.java

index 69dd73a79b56d595b33946f654fe190a2d9fd078..ad37885c39d25c582157086fb758679e053b5599 100644 (file)
@@ -40,8 +40,8 @@ public class AddUserConsentRequiredIfGithubAutoProvisioningEnabled extends DataC
   static final String PROP_KEY = "sonar.auth.github.userConsentForPermissionProvisioningRequired";
 
   private static final String INSERT_QUERY = """
-    INSERT INTO PROPERTIES (UUID, PROP_KEY, IS_EMPTY, CREATED_AT)
-    VALUES (?, ?, ?, ?)
+    insert into properties (uuid, prop_key, is_empty, created_at)
+    values (?, ?, ?, ?)
     """;
 
   private final System2 system2;