From 78f292cad7cab9cfc654173c3184c91bd66af668 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 30 Oct 2014 20:57:38 +0100 Subject: SONAR-5810 Migrate issue filters to replace project keys by uuids --- .../src/main/java/org/sonar/core/persistence/DatabaseVersion.java | 2 +- sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-core') 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; -- cgit v1.2.3