aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-core
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2017-10-02 17:37:22 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2017-10-04 12:13:25 +0200
commit9e0a9168d7b85593b9d44ca0534b910ba6946948 (patch)
treef9d4c27adab0d85fe2881b1de03cf3fcafc58876 /server/sonar-db-core
parentb8a42fed352a0349caf85393b2e4c60ceb647e72 (diff)
downloadsonarqube-9e0a9168d7b85593b9d44ca0534b910ba6946948.tar.gz
sonarqube-9e0a9168d7b85593b9d44ca0534b910ba6946948.zip
SONAR-9899 Remove all references to branches of type PR
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r--server/sonar-db-core/src/main/resources/org/sonar/db/version/schema-h2.ddl4
1 files changed, 1 insertions, 3 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 f4ea81d864e..0aab8ac7160 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
@@ -717,13 +717,11 @@ CREATE UNIQUE INDEX "PLUGINS_KEY" ON "PLUGINS" ("KEE");
CREATE TABLE "PROJECT_BRANCHES" (
"UUID" VARCHAR(50) NOT NULL PRIMARY KEY,
"PROJECT_UUID" VARCHAR(50) NOT NULL,
- "KEE_TYPE" VARCHAR(6) NOT NULL,
"KEE" VARCHAR(255) NOT NULL,
"BRANCH_TYPE" VARCHAR(5),
"MERGE_BRANCH_UUID" VARCHAR(50),
- "PULL_REQUEST_TITLE" VARCHAR(4000),
"CREATED_AT" BIGINT NOT NULL,
"UPDATED_AT" BIGINT NOT NULL
);
CREATE UNIQUE INDEX "PK_PROJECT_BRANCHES" ON "PROJECT_BRANCHES" ("UUID");
-CREATE UNIQUE INDEX "PROJECT_BRANCHES_KEE" ON "PROJECT_BRANCHES" ("PROJECT_UUID", "KEE_TYPE", "KEE");
+CREATE UNIQUE INDEX "PROJECT_BRANCHES_KEE" ON "PROJECT_BRANCHES" ("PROJECT_UUID", "KEE");