]> source.dussan.org Git - sonarqube.git/commitdiff
Fix PROJECT_QPROFILES.PROFILE_KEY width: 255 -> 50
authorJanos Gyerik <janos.gyerik@sonarsource.com>
Wed, 22 May 2019 13:11:08 +0000 (15:11 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 22 May 2019 18:21:16 +0000 (20:21 +0200)
server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl

index 786e100f1026e0e6a5537a1e0993a61a7c1455f5..b23a664d69bcf9bd47fa2289eac4203fc46ba8c9 100644 (file)
@@ -94,7 +94,7 @@ CREATE UNIQUE INDEX "UNIQ_DEFAULT_QPROFILES_UUID" ON "DEFAULT_QPROFILES" ("QPROF
 CREATE TABLE "PROJECT_QPROFILES" (
   "ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1),
   "PROJECT_UUID" VARCHAR(50) NOT NULL,
-  "PROFILE_KEY" VARCHAR(255) NOT NULL
+  "PROFILE_KEY" VARCHAR(50) NOT NULL
 );
 CREATE UNIQUE INDEX "UNIQ_PROJECT_QPROFILES" ON "PROJECT_QPROFILES" ("PROJECT_UUID", "PROFILE_KEY");