diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-08 15:16:19 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-09 09:46:36 +0200 |
commit | 9309b09ba2dedf09df270ec6f64a3ff5b6160cd6 (patch) | |
tree | c95b9be2b65d9b78265fa7201f1e73293c233358 /sonar-db | |
parent | b3101c1575b89000737c854abf87631f1ec22a6f (diff) | |
download | sonarqube-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.java | 2 | ||||
-rw-r--r-- | sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql | 1 |
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; |