diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-11-25 12:07:35 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-11-25 12:07:35 +0100 |
commit | 9cfe6672bc793eb5775e8cd137b735837b3a2787 (patch) | |
tree | 1e3a7356e72430b2e2e18cbe719134c630ced727 /sonar-db | |
parent | 1f1a013440ffcbc5e1033d5e351870576ed21593 (diff) | |
download | sonarqube-9cfe6672bc793eb5775e8cd137b735837b3a2787.tar.gz sonarqube-9cfe6672bc793eb5775e8cd137b735837b3a2787.zip |
SONAR-7073 Size of db column SNAPSHOTS.QUALIFIER is not correct
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 | 2 |
2 files changed, 3 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 f8d1d84e9f3..2faa9191b04 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 = 1000; + public static final int LAST_VERSION = 1002; /** * 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 25a9cb3425c..4f97c05b4d5 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 @@ -361,6 +361,8 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('939'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('940'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('941'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1000'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1001'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('1002'); 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; |