aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-core
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-06-29 21:41:53 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-07-05 21:02:58 +0200
commit4b08d04bb8db93c40fa7cffe05ed51dbdac4b81d (patch)
treea2955745a2aad070de89638bb1e22f83288ce8a6 /server/sonar-db-core
parentcd5bbe9a4d96efc6e6371436645de9a1d72c6f78 (diff)
downloadsonarqube-4b08d04bb8db93c40fa7cffe05ed51dbdac4b81d.tar.gz
sonarqube-4b08d04bb8db93c40fa7cffe05ed51dbdac4b81d.zip
SONAR-9480 make WS operations on rules resilient to Elasticsearch errors
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r--server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl2
1 files changed, 1 insertions, 1 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 202db3d5e1f..3942cb98f86 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
@@ -662,7 +662,7 @@ CREATE INDEX "CE_TASK_UUID" ON "WEBHOOK_DELIVERIES" ("CE_TASK_UUID");
CREATE TABLE "ES_QUEUE" (
"UUID" VARCHAR(40) NOT NULL PRIMARY KEY,
"DOC_TYPE" VARCHAR(40) NOT NULL,
- "DOC_UUID" VARCHAR(255) NOT NULL,
+ "DOC_ID" VARCHAR(4000) NOT NULL,
"CREATED_AT" BIGINT NOT NULL
);
CREATE UNIQUE INDEX "PK_ES_QUEUE" ON "ES_QUEUE" ("UUID");