diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-03-08 15:02:39 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-03-10 10:23:05 +0100 |
commit | 8aab02476cfa6cf173c2468408c49ed88b0ac3fc (patch) | |
tree | 053331f2ede5a6078887690ada853777b8cf7f67 /sonar-db | |
parent | 3b80e373fce7eb74dca6fea710b05c68cabf442b (diff) | |
download | sonarqube-8aab02476cfa6cf173c2468408c49ed88b0ac3fc.tar.gz sonarqube-8aab02476cfa6cf173c2468408c49ed88b0ac3fc.zip |
SONAR-7378 Drop unused index ISSUES_STATUS
Diffstat (limited to 'sonar-db')
3 files changed, 2 insertions, 3 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java b/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java index a8a23f680f4..67b823778ac 100644 --- a/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java +++ b/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java @@ -29,7 +29,7 @@ import org.sonar.db.MyBatis; public class DatabaseVersion { - public static final int LAST_VERSION = 1113; + public static final int LAST_VERSION = 1114; /** * The minimum supported version which can be upgraded. Lower diff --git a/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql b/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql index 83d20947276..76ad5e03d09 100644 --- a/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql +++ b/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql @@ -391,6 +391,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1110'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1111'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1112'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1113'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1114'); INSERT INTO USERS(ID, LOGIN, NAME, EMAIL, EXTERNAL_IDENTITY, EXTERNAL_IDENTITY_PROVIDER, CRYPTED_PASSWORD, SALT, CREATED_AT, UPDATED_AT, REMEMBER_TOKEN, REMEMBER_TOKEN_EXPIRES_AT) VALUES (1, 'admin', 'Administrator', '', 'admin', 'sonarqube', 'a373a0e667abb2604c1fd571eb4ad47fe8cc0878', '48bc4b0d93179b5103fd3885ea9119498e9d161b', '1418215735482', '1418215735482', null, null); ALTER TABLE USERS ALTER COLUMN ID RESTART WITH 2; diff --git a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl index 8fec18146f6..e6116e12792 100644 --- a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl +++ b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl @@ -639,8 +639,6 @@ CREATE INDEX "ISSUES_RULE_ID" ON "ISSUES" ("RULE_ID"); CREATE INDEX "ISSUES_SEVERITY" ON "ISSUES" ("SEVERITY"); -CREATE INDEX "ISSUES_STATUS" ON "ISSUES" ("STATUS"); - CREATE INDEX "ISSUES_RESOLUTION" ON "ISSUES" ("RESOLUTION"); CREATE INDEX "ISSUES_ASSIGNEE" ON "ISSUES" ("ASSIGNEE"); |