diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-04-24 11:19:01 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-04-24 11:19:01 +0200 |
commit | 131af346c37cc3179b027c69f66258ba4b269144 (patch) | |
tree | e28a15c6d4da5acde301be4ccf4e471c1de6a5d9 | |
parent | 2cd90f30de91738db495a3336e31e5f250322848 (diff) | |
download | sonarqube-131af346c37cc3179b027c69f66258ba4b269144.tar.gz sonarqube-131af346c37cc3179b027c69f66258ba4b269144.zip |
Move issues db migration
-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 | 4 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/db/migrate/389_create_issues.rb (renamed from sonar-server/src/main/webapp/WEB-INF/db/migrate/385_create_issues.rb) | 0 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/db/migrate/390_create_issue_changes.rb (renamed from sonar-server/src/main/webapp/WEB-INF/db/migrate/386_create_issue_changes.rb) | 0 |
4 files changed, 3 insertions, 3 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 6d218221d06..aa818a4f8c6 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 = 388; + public static final int LAST_VERSION = 390; 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 094c00226aa..3c89c36d704 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 @@ -155,10 +155,10 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('381'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('382'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('383'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('384'); -INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('385'); -INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('386'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('387'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('388'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('389'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('390'); 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; diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/385_create_issues.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/389_create_issues.rb index 51635e96e02..51635e96e02 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/385_create_issues.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/389_create_issues.rb diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/386_create_issue_changes.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/390_create_issue_changes.rb index 436e51350f9..436e51350f9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/386_create_issue_changes.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/390_create_issue_changes.rb |