aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-core
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-07-03 12:15:00 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-07-06 12:32:00 +0200
commitbf1ca1cbcd17a623ec9c53f5069ade9f792f2b3f (patch)
tree41de1b71a14ecdfe8852ebb3e4ce981d9879fe6e /server/sonar-db-core
parent4b08d04bb8db93c40fa7cffe05ed51dbdac4b81d (diff)
downloadsonarqube-bf1ca1cbcd17a623ec9c53f5069ade9f792f2b3f.tar.gz
sonarqube-bf1ca1cbcd17a623ec9c53f5069ade9f792f2b3f.zip
SONAR-9481 Make operations on QProfiles resilient to ES 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, 2 insertions, 0 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 3942cb98f86..81c8fe51945 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
@@ -663,6 +663,8 @@ CREATE TABLE "ES_QUEUE" (
"UUID" VARCHAR(40) NOT NULL PRIMARY KEY,
"DOC_TYPE" VARCHAR(40) NOT NULL,
"DOC_ID" VARCHAR(4000) NOT NULL,
+ "DOC_ID_TYPE" VARCHAR(20),
+ "DOC_ROUTING" VARCHAR(4000),
"CREATED_AT" BIGINT NOT NULL
);
CREATE UNIQUE INDEX "PK_ES_QUEUE" ON "ES_QUEUE" ("UUID");