diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-05-12 14:33:23 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-05-12 14:54:48 +0200 |
commit | 538bcc64caacf7ca7e81a4848183fc282a86859b (patch) | |
tree | b9856b095433ebefc18727a7f29faea211a42fbf /sonar-core | |
parent | e0eaacef1ec9c6398975c309624d28031814e8ec (diff) | |
download | sonarqube-538bcc64caacf7ca7e81a4848183fc282a86859b.tar.gz sonarqube-538bcc64caacf7ca7e81a4848183fc282a86859b.zip |
SONAR-5277 Increase size of project_measures.text_value
Diffstat (limited to 'sonar-core')
3 files changed, 3 insertions, 2 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 ec1c58b94a0..97b010a611e 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 = 534; + public static final int LAST_VERSION = 535; public static enum Status { UP_TO_DATE, REQUIRES_UPGRADE, REQUIRES_DOWNGRADE, FRESH_INSTALL 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 775af009c74..1851f63e3a7 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 @@ -230,6 +230,7 @@ INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('531'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('532'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('533'); INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('534'); +INSERT INTO SCHEMA_MIGRATIONS(VERSION) VALUES ('535'); 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; diff --git a/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl b/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl index a6b6038c2df..c5244ccd5ff 100644 --- a/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl +++ b/sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl @@ -257,7 +257,7 @@ CREATE TABLE "PROJECT_MEASURES" ( "SNAPSHOT_ID" INTEGER, "RULE_ID" INTEGER, "RULES_CATEGORY_ID" INTEGER, - "TEXT_VALUE" VARCHAR(96), + "TEXT_VALUE" VARCHAR(4000), "TENDENCY" INTEGER, "MEASURE_DATE" TIMESTAMP, "PROJECT_ID" INTEGER, |