From 7c58033a1972a9f99c7db5494a1e890e229e9d75 Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Wed, 17 Jul 2019 07:34:47 +0200
Subject: [PATCH] liquibase: fixed a fatal error where wrong datatypes have
 been used

---
 .../basic/init/struct/create_asys_aliasconfig.xml             | 4 ++--
 .../basic/init/struct/create_asys_binaries.xml                | 4 ++--
 .../_____SYSTEMALIAS/basic/init/struct/create_asys_system.xml | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_aliasconfig.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_aliasconfig.xml
index 7c4c1bb82a..40c7f7e18d 100644
--- a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_aliasconfig.xml
+++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_aliasconfig.xml
@@ -7,7 +7,7 @@
         </column>
         <column name="ALIASID" type="VARCHAR(63)"/>
         <column name="DESCRIPTION" type="CLOB"/>
-        <column name="ICON" type="BLOB"/>
+        <column name="ICON" type="LONGBLOB"/>
         <column name="KIND" type="INTEGER">
             <constraints nullable="false"/>
         </column>
@@ -17,7 +17,7 @@
         <column name="SERVERID" type="VARCHAR(63)"/>
         <column name="TENANTID" type="VARCHAR(63)"/>
         <column name="TITLE" type="VARCHAR(63)"/>
-        <column name="XMLDATA" type="BLOB"/>
+        <column name="XMLDATA" type="LONGBLOB"/>
         <column name="USER_EDIT" type="VARCHAR(63)"/>
         <column name="USER_NEW" type="VARCHAR(63)"/>
         <column name="DATE_EDIT" type="DATETIME"/>
diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml
index 85b0dc0f48..13b4d9f0ee 100644
--- a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml
+++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml
@@ -5,7 +5,7 @@
         <column name="ID" type="CHAR(36)">
             <constraints primaryKey="true" primaryKeyName="PK_ASYS_BINARIES_ID"/>
         </column>
-        <column name="BINDATA" type="BLOB"/>
+        <column name="BINDATA" type="LONGBLOB"/>
         <column name="CONTAINERNAME" type="VARCHAR(31)"/>
         <column name="DATASIZE" type="BIGINT"/>
         <column name="DESCRIPTION" type="VARCHAR(127)"/>
@@ -13,7 +13,7 @@
         <column name="KEYWORD" type="VARCHAR(255)"/>
         <column name="MIMETYPE" type="VARCHAR(127)"/>
         <column name="PARENTID" type="VARCHAR(1024)"/>
-        <column name="PREVIEW" type="BLOB"/>
+        <column name="PREVIEW" type="LONGBLOB"/>
         <column name="ROW_ID" type="CHAR(36)"/>
         <column name="TABLENAME" type="VARCHAR(127)"/>
         <column name="USER_EDIT" type="VARCHAR(63)"/>
diff --git a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_system.xml b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_system.xml
index 233453b06b..0c64e94163 100644
--- a/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_system.xml
+++ b/.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_system.xml
@@ -8,7 +8,7 @@
         <column name="DATE_EDIT" type="DATETIME"/>
         <column name="DATE_NEW" type="DATETIME"/>
         <column name="DESCRIPTION" type="VARCHAR(255)"/>
-        <column name="ICON" type="BLOB"/>
+        <column name="ICON" type="LONGBLOB"/>
         <column name="KIND" type="INTEGER">
             <constraints nullable="false"/>
         </column>
@@ -18,7 +18,7 @@
         <column name="TITLE" type="VARCHAR(63)"/>
         <column name="USER_EDIT" type="VARCHAR(63)"/>
         <column name="USER_NEW" type="VARCHAR(63)"/>
-        <column name="XMLDATA" type="BLOB"/>
+        <column name="XMLDATA" type="LONGBLOB"/>
     </createTable>
 </changeSet>
 </databaseChangeLog>
\ No newline at end of file
-- 
GitLab