From 3229086bbc9eca2443415230ed5ffca251020c13 Mon Sep 17 00:00:00 2001
From: Sebastian Listl <s.listl@adito.de>
Date: Mon, 26 Oct 2020 11:33:14 +0100
Subject: [PATCH] Loghistory UID Liquibase script fix for mariadb

---
 .../basic/2020.2.1/Loghistory/addAb_loghistoryId.xml  | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/.liquibase/Data_alias/basic/2020.2.1/Loghistory/addAb_loghistoryId.xml b/.liquibase/Data_alias/basic/2020.2.1/Loghistory/addAb_loghistoryId.xml
index 1c80762174..9e7f179262 100644
--- a/.liquibase/Data_alias/basic/2020.2.1/Loghistory/addAb_loghistoryId.xml
+++ b/.liquibase/Data_alias/basic/2020.2.1/Loghistory/addAb_loghistoryId.xml
@@ -30,14 +30,7 @@
         </update>
     </changeSet>
     <changeSet author="s.listl" id="9a100da4-a467-4156-ab21-51216c7cbb3e">
-        <addNotNullConstraint  
-            columnName="AB_LOGHISTORYID"  
-            tableName="AB_LOGHISTORY"  
-        /> 
-        <addPrimaryKey    
-            columnNames="AB_LOGHISTORYID"  
-            constraintName="pk_AB_LOGHISTORYID"  
-            tableName="AB_LOGHISTORY"  
-        /> 
+        <addNotNullConstraint columnName="AB_LOGHISTORYID" tableName="AB_LOGHISTORY" columnDataType="char(36)"/> 
+        <addPrimaryKey columnNames="AB_LOGHISTORYID" constraintName="pk_AB_LOGHISTORYID" tableName="AB_LOGHISTORY"/> 
     </changeSet>
 </databaseChangeLog>
-- 
GitLab