aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-08 15:16:19 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-09-09 09:46:36 +0200
commit9309b09ba2dedf09df270ec6f64a3ff5b6160cd6 (patch)
treec95b9be2b65d9b78265fa7201f1e73293c233358 /sonar-db
parentb3101c1575b89000737c854abf87631f1ec22a6f (diff)
downloadsonarqube-9309b09ba2dedf09df270ec6f64a3ff5b6160cd6.tar.gz
sonarqube-9309b09ba2dedf09df270ec6f64a3ff5b6160cd6.zip
SONAR-6840 Allow measure values of integers with more than 10 digits in database
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java2
-rw-r--r--sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java b/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java
index 31d098b7d5e..2b51ffbafd6 100644
--- a/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java
+++ b/sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java
@@ -29,7 +29,7 @@ import org.sonar.db.MyBatis;
public class DatabaseVersion {
- public static final int LAST_VERSION = 927;
+ public static final int LAST_VERSION = 928;
/**
* The minimum supported version which can be upgraded. Lower
diff --git a/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql b/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql
index 2963913915a..526a96c5c5f 100644
--- a/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql
+++ b/sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql
@@ -346,6 +346,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('924');
INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('925');
INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('926');
INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('927');
+INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('928');
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;