aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao
diff options
context:
space:
mode:
authorBenjamin Campomenosi <benjamin.campomenosi@sonarsource.com>2022-09-05 17:32:48 +0200
committersonartech <sonartech@sonarsource.com>2022-09-13 20:03:07 +0000
commitf4945a109a811cdbd292e0ad88fb6e6fb7c0ee13 (patch)
tree17db5fc35e9ce93da46935ad08dc2749cfc76ce9 /server/sonar-db-dao
parent0895d305cc683ac9c1a0448b9ea00277cd372eb6 (diff)
downloadsonarqube-f4945a109a811cdbd292e0ad88fb6e6fb7c0ee13.tar.gz
sonarqube-f4945a109a811cdbd292e0ad88fb6e6fb7c0ee13.zip
SONAR-17266 add webhook_secret column to alm_settings table
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r--server/sonar-db-dao/src/schema/schema-sq.ddl3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/schema/schema-sq.ddl b/server/sonar-db-dao/src/schema/schema-sq.ddl
index 6ff53f42894..223ef95ff6a 100644
--- a/server/sonar-db-dao/src/schema/schema-sq.ddl
+++ b/server/sonar-db-dao/src/schema/schema-sq.ddl
@@ -57,7 +57,8 @@ CREATE TABLE "ALM_SETTINGS"(
"UPDATED_AT" BIGINT NOT NULL,
"CREATED_AT" BIGINT NOT NULL,
"CLIENT_ID" CHARACTER VARYING(80),
- "CLIENT_SECRET" CHARACTER VARYING(160)
+ "CLIENT_SECRET" CHARACTER VARYING(160),
+ "WEBHOOK_SECRET" CHARACTER VARYING(160)
);
ALTER TABLE "ALM_SETTINGS" ADD CONSTRAINT "PK_ALM_SETTINGS" PRIMARY KEY("UUID");
CREATE UNIQUE INDEX "UNIQ_ALM_SETTINGS" ON "ALM_SETTINGS"("KEE" NULLS FIRST);