diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-12-10 16:38:57 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-12-10 18:22:23 +0100 |
commit | 54675e3eeac87a962dcf5eda2c22c0c183b5b2d3 (patch) | |
tree | f8772c0e6975900e744427f2cb824fd5c8174215 /sonar-core/src | |
parent | b3f6d5d12a970fdfceb237ac994d42a339c15efa (diff) | |
download | sonarqube-54675e3eeac87a962dcf5eda2c22c0c183b5b2d3.tar.gz sonarqube-54675e3eeac87a962dcf5eda2c22c0c183b5b2d3.zip |
SONAR-3825 do not create the dashboard "Home" on upgrades
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java | 2 | ||||
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java b/sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java index d0323b072a2..abaede43292 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java @@ -32,7 +32,7 @@ import java.util.List; */ public class DatabaseVersion implements BatchComponent, ServerComponent { - public static final int LAST_VERSION = 362; + public static final int LAST_VERSION = 363; public static enum Status { UP_TO_DATE, REQUIRES_UPGRADE, REQUIRES_DOWNGRADE, FRESH_INSTALL diff --git a/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql b/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql index 9d94ebc041a..7e100e3f970 100644 --- a/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql +++ b/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql @@ -147,6 +147,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('359'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('360'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('361'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('362'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('363'); INSERT INTO USERS(ID, LOGIN, NAME, EMAIL, CRYPTED_PASSWORD, SALT, CREATED_AT, UPDATED_AT, REMEMBER_TOKEN, REMEMBER_TOKEN_EXPIRES_AT) VALUES (1, 'admin', 'Administrator', '', 'a373a0e667abb2604c1fd571eb4ad47fe8cc0878', '48bc4b0d93179b5103fd3885ea9119498e9d161b', '2011-09-26 22:27:48.0', '2011-09-26 22:27:48.0', null, null); ALTER TABLE USERS ALTER COLUMN ID RESTART WITH 2; |