aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2021-08-25 14:29:40 +0200
committersonartech <sonartech@sonarsource.com>2021-08-30 20:08:19 +0000
commit451fa55e933c16dd9bafeb489b3777735b63a314 (patch)
treebab8d6a06d9268618b42958da90d037460aefa18 /server/sonar-db-dao
parentba23e5bd2ae4eae47ca648cf06ab44d27da01b32 (diff)
downloadsonarqube-451fa55e933c16dd9bafeb489b3777735b63a314.tar.gz
sonarqube-451fa55e933c16dd9bafeb489b3777735b63a314.zip
SONAR-15322 Allow SQ DB fit encrypted DevOps Platform values
Diffstat (limited to 'server/sonar-db-dao')
-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 88044297a20..ed1a1416676 100644
--- a/server/sonar-db-dao/src/schema/schema-sq.ddl
+++ b/server/sonar-db-dao/src/schema/schema-sq.ddl
@@ -52,12 +52,12 @@ CREATE TABLE "ALM_SETTINGS"(
"KEE" VARCHAR(200) NOT NULL,
"URL" VARCHAR(2000),
"APP_ID" VARCHAR(80),
- "PRIVATE_KEY" VARCHAR(2000),
+ "PRIVATE_KEY" VARCHAR(2500),
"PAT" VARCHAR(2000),
"UPDATED_AT" BIGINT NOT NULL,
"CREATED_AT" BIGINT NOT NULL,
"CLIENT_ID" VARCHAR(80),
- "CLIENT_SECRET" VARCHAR(80)
+ "CLIENT_SECRET" VARCHAR(160)
);
ALTER TABLE "ALM_SETTINGS" ADD CONSTRAINT "PK_ALM_SETTINGS" PRIMARY KEY("UUID");
CREATE UNIQUE INDEX "UNIQ_ALM_SETTINGS" ON "ALM_SETTINGS"("KEE");