aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/schema
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2021-10-28 12:07:23 -0500
committersonartech <sonartech@sonarsource.com>2021-11-09 20:03:15 +0000
commite8905886d0e77cc080022dff7e0df79e4823e5de (patch)
tree899ad2f2961d3de1070605ceb66b8e69ef4aa222 /server/sonar-db-dao/src/schema
parent2dd9ce1a7271e6448e546d21eb59a2ac41127c08 (diff)
downloadsonarqube-e8905886d0e77cc080022dff7e0df79e4823e5de.tar.gz
sonarqube-e8905886d0e77cc080022dff7e0df79e4823e5de.zip
SONAR-15498 Compute manually selected projects in portfolio
Diffstat (limited to 'server/sonar-db-dao/src/schema')
-rw-r--r--server/sonar-db-dao/src/schema/schema-sq.ddl4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-db-dao/src/schema/schema-sq.ddl b/server/sonar-db-dao/src/schema/schema-sq.ddl
index f2720a1e7e1..eb874b033a9 100644
--- a/server/sonar-db-dao/src/schema/schema-sq.ddl
+++ b/server/sonar-db-dao/src/schema/schema-sq.ddl
@@ -199,7 +199,7 @@ CREATE INDEX "CTM_MESSAGE_TYPE" ON "CE_TASK_MESSAGE"("MESSAGE_TYPE");
CREATE TABLE "COMPONENTS"(
"UUID" VARCHAR(50) NOT NULL,
- "KEE" VARCHAR(400),
+ "KEE" VARCHAR(1000),
"DEPRECATED_KEE" VARCHAR(400),
"NAME" VARCHAR(2000),
"LONG_NAME" VARCHAR(2000),
@@ -602,7 +602,7 @@ CREATE TABLE "PORTFOLIOS"(
"SELECTION_EXPRESSION" VARCHAR(4000),
"CREATED_AT" BIGINT NOT NULL,
"UPDATED_AT" BIGINT NOT NULL,
- "BRANCH_NAME" VARCHAR(255)
+ "BRANCH_KEY" VARCHAR(255)
);
ALTER TABLE "PORTFOLIOS" ADD CONSTRAINT "PK_PORTFOLIOS" PRIMARY KEY("UUID");
CREATE UNIQUE INDEX "UNIQ_PORTFOLIOS_KEE" ON "PORTFOLIOS"("KEE");