diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-04-20 15:38:08 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-04-21 17:34:06 +0200 |
commit | c83af35f044f23b698ba23dca7097546b1eb2a13 (patch) | |
tree | fc4af6eef92dce6b945f746cae0333b2925d4515 /sonar-core | |
parent | acd4f5782083ad1efcc6ed8850c9d1fab9269291 (diff) | |
download | sonarqube-c83af35f044f23b698ba23dca7097546b1eb2a13.tar.gz sonarqube-c83af35f044f23b698ba23dca7097546b1eb2a13.zip |
SONAR-6256 Add migration to feed dependencies.from_component_uuid and dependencies.to_component_uuid
Diffstat (limited to 'sonar-core')
-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 59a46e128ea..87410d7a8cb 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 @@ -33,7 +33,7 @@ import java.util.List; */ public class DatabaseVersion implements BatchComponent, ServerComponent { - public static final int LAST_VERSION = 909; + public static final int LAST_VERSION = 910; /** * List of all the tables.n 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 17bda5bde4b..1f19a2ff695 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 @@ -333,6 +333,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('906'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('907'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('908'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('909'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('910'); 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', '1418215735482', '1418215735482', null, null); ALTER TABLE USERS ALTER COLUMN ID RESTART WITH 2; |