summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-10 21:47:02 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-10 21:55:10 +0100
commit80e19825ce083c88f99ba1575d66ab721b557190 (patch)
treee28ab8a5e4be4325e03225601bf34d75894bae71 /sonar-core
parentf3523f5679f80f40835712160b8ddfa688bace8e (diff)
downloadsonarqube-80e19825ce083c88f99ba1575d66ab721b557190.tar.gz
sonarqube-80e19825ce083c88f99ba1575d66ab721b557190.zip
Use BLOB instead of H2 BINARY columns
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl4
1 files changed, 2 insertions, 2 deletions
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 81d7d1d1779..d1efca986f6 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
@@ -291,7 +291,7 @@ CREATE TABLE "ACTIVE_RULES" (
CREATE TABLE "NOTIFICATIONS" (
"ID" INTEGER NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1),
- "DATA" BINARY(167772150)
+ "DATA" BLOB(167772150)
);
CREATE TABLE "USER_ROLES" (
@@ -555,7 +555,7 @@ CREATE TABLE "FILE_SOURCES" (
"PROJECT_UUID" VARCHAR(50) NOT NULL,
"FILE_UUID" VARCHAR(50) NOT NULL,
"LINE_HASHES" CLOB(2147483647),
- "BINARY_DATA" BINARY(167772150),
+ "BINARY_DATA" BLOB(167772150),
"DATA_HASH" VARCHAR(50) NOT NULL,
"SRC_HASH" VARCHAR(50) NULL,
"CREATED_AT" BIGINT NOT NULL,