From 19abd04980a56aa4379e78035647f05eb36aa91f Mon Sep 17 00:00:00 2001
From: satish <satish.dvnk@vtiger.com>
Date: Mon, 27 Nov 2017 17:43:53 +0530
Subject: [PATCH] Supporting Mysql V5.7

---
 schema/DatabaseSchema.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/schema/DatabaseSchema.xml b/schema/DatabaseSchema.xml
index a5c75049e..95d52998b 100644
--- a/schema/DatabaseSchema.xml
+++ b/schema/DatabaseSchema.xml
@@ -1971,9 +1971,10 @@
 			<deftimestamp />
 		</field>
 		<field name="login_time" type="T">
-			<deftimestamp />
-			<!--mysql 5.7 not able create table as default value missing for this field-->
-			<default value="CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP" />
+			<!-- Troublesome with STRICT_TRANS_TABLE mode depends on MySQL 5.5 or 5.6+ -->
+			<!--
+				<deftimestamp />
+			-->
 		</field>
 		<field name="status" type="C" size="25" />
 		<opt platform="mysql">Engine=InnoDB</opt>
-- 
GitLab