aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-core
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-06-09 10:32:31 +0200
committerEric Hartmann <hartmann.eric@gmail.com>2017-06-14 15:43:13 +0200
commit7a163414fe1eeb2be1754d87c9969c4a68105b5e (patch)
tree2e8c17e8fc285705d03e23bae90828b1cdd07192 /server/sonar-db-core
parentd9268101aa0358939e405edc89ee365de71ea035 (diff)
downloadsonarqube-7a163414fe1eeb2be1754d87c9969c4a68105b5e.tar.gz
sonarqube-7a163414fe1eeb2be1754d87c9969c4a68105b5e.zip
SONAR-9304 quality profile uuid with length of 255 characters
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r--server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl b/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl
index 3947300eb40..a63c0dde526 100644
--- a/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl
+++ b/server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl
@@ -57,10 +57,10 @@ CREATE UNIQUE INDEX "UNIQ_QPROF_KEY" ON "RULES_PROFILES" ("KEE");
CREATE TABLE "ORG_QPROFILES" (
- "UUID" VARCHAR(40) NOT NULL PRIMARY KEY,
+ "UUID" VARCHAR(255) NOT NULL PRIMARY KEY,
"ORGANIZATION_UUID" VARCHAR(40) NOT NULL,
- "RULES_PROFILE_UUID" VARCHAR(40) NOT NULL,
- "PARENT_UUID" VARCHAR(40),
+ "RULES_PROFILE_UUID" VARCHAR(255) NOT NULL,
+ "PARENT_UUID" VARCHAR(255),
"LAST_USED" BIGINT,
"USER_UPDATED_AT" BIGINT,
"CREATED_AT" BIGINT NOT NULL,
@@ -73,7 +73,7 @@ CREATE INDEX "ORG_QPROFILES_RP_UUID" ON "ORG_QPROFILES" ("RULES_PROFILE_UUID");
CREATE TABLE "DEFAULT_QPROFILES" (
"ORGANIZATION_UUID" VARCHAR(40) NOT NULL,
"LANGUAGE" VARCHAR(20) NOT NULL,
- "QPROFILE_UUID" VARCHAR(40) NOT NULL,
+ "QPROFILE_UUID" VARCHAR(255) NOT NULL,
"CREATED_AT" BIGINT NOT NULL,
"UPDATED_AT" BIGINT NOT NULL
);