]> source.dussan.org Git - sonarqube.git/blob
0e120b5f08ae264e955a95882653f3b7dc279932
[sonarqube.git] /
1 CREATE TABLE "WEBHOOK_DELIVERIES" (
2   "UUID" VARCHAR(40) NOT NULL PRIMARY KEY,
3   "COMPONENT_UUID" VARCHAR(40) NOT NULL,
4   "ANALYSIS_UUID" VARCHAR(40) NULL,
5   "CE_TASK_UUID" VARCHAR(40) NOT NULL,
6   "NAME" VARCHAR(100) NOT NULL,
7   "URL" VARCHAR(2000) NOT NULL,
8   "SUCCESS" BOOLEAN NOT NULL,
9   "HTTP_STATUS" INT,
10   "DURATION_MS" INT,
11   "PAYLOAD" CLOB NOT NULL,
12   "ERROR_STACKTRACE" CLOB,
13   "CREATED_AT" BIGINT NOT NULL
14 );
15 CREATE UNIQUE INDEX "PK_WEBHOOK_DELIVERIES" ON "WEBHOOK_DELIVERIES" ("UUID");
16 CREATE INDEX "COMPONENT_UUID" ON "WEBHOOK_DELIVERIES" ("COMPONENT_UUID");
17 CREATE INDEX "CE_TASK_UUID" ON "WEBHOOK_DELIVERIES" ("CE_TASK_UUID");