diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-07-15 10:03:38 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-07-19 13:53:17 +0200 |
commit | a5ab07be6c4a88715e0747364e2d0c843b1ad90c (patch) | |
tree | 4dfe0b3865e1c8c4a20b1920993b5b283d280c60 /sonar-db | |
parent | 8a83d02149a1e32922f00d193bccb67d1ba974cb (diff) | |
download | sonarqube-a5ab07be6c4a88715e0747364e2d0c843b1ad90c.tar.gz sonarqube-a5ab07be6c4a88715e0747364e2d0c843b1ad90c.zip |
SONAR-7786 Create index measures_analysis_metric earlier
so that other migrations can benefit from it
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java | 2 | ||||
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql | 1 |
2 files changed, 2 insertions, 1 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 796c16e5954..e8b30543628 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 @@ -30,7 +30,7 @@ import org.sonar.db.MyBatis; public class DatabaseVersion { - public static final int LAST_VERSION = 1_276; + public static final int LAST_VERSION = 1_277; /** * 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 fff413c49dd..ea257a66f8b 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 @@ -484,6 +484,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1273'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1274'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1275'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1276'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1277'); INSERT INTO USERS(ID, LOGIN, NAME, EMAIL, EXTERNAL_IDENTITY, EXTERNAL_IDENTITY_PROVIDER, USER_LOCAL, CRYPTED_PASSWORD, SALT, CREATED_AT, UPDATED_AT) VALUES (1, 'admin', 'Administrator', '', 'admin', 'sonarqube', true, 'a373a0e667abb2604c1fd571eb4ad47fe8cc0878', '48bc4b0d93179b5103fd3885ea9119498e9d161b', '1418215735482', '1418215735482'); ALTER TABLE USERS ALTER COLUMN ID RESTART WITH 2; |