aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2014-10-30 20:57:38 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2014-10-30 20:57:38 +0100
commit78f292cad7cab9cfc654173c3184c91bd66af668 (patch)
tree16c69682b4c51a786adba825bca6278c0bc1f273 /sonar-core
parent0ddf1ebc068e1ffb9dd1c24ba6eb7230e3649865 (diff)
downloadsonarqube-78f292cad7cab9cfc654173c3184c91bd66af668.tar.gz
sonarqube-78f292cad7cab9cfc654173c3184c91bd66af668.zip
SONAR-5810 Migrate issue filters to replace project keys by uuids
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/DatabaseVersion.java2
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql1
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 dba1f20707a..0c03ea7641c 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 = 709;
+ public static final int LAST_VERSION = 710;
/**
* List of all the tables.
* This list is hardcoded because we didn't succeed in using java.sql.DatabaseMetaData#getTables() in the same way
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 09bcd19e4be..fa04f902cf1 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
@@ -269,6 +269,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('706');
INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('707');
INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('708');
INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('709');
+INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('710');
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;