From bf1ca1cbcd17a623ec9c53f5069ade9f792f2b3f Mon Sep 17 00:00:00 2001 From: Eric Hartmann Date: Mon, 3 Jul 2017 12:15:00 +0200 Subject: SONAR-9481 Make operations on QProfiles resilient to ES errors --- .../sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/sonar-db-core') 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"); -- cgit v1.2.3