From 6405567886965e1341e315a239d2f21c6719c197 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 27 Apr 2018 09:20:42 -0400 Subject: [PATCH] (fix) fixed default data value for c_hascertificate (fixes #4442) --- NEWS | 1 + Scripts/mysql-utf8mb4.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 656b5ecc1..ae049b344 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,7 @@ Enhancements Bug fixes - [core] properly update the last-modified attribute (#4313) + - [core] fixed default data value for c_hascertificate (#4442) - [web] prevent deletion of special folders using del key - [web] fixed SAML2 session timeout handling during XHR requests - [web] fixed renaming a folder under iOS diff --git a/Scripts/mysql-utf8mb4.sql b/Scripts/mysql-utf8mb4.sql index 043680022..63c8973a6 100644 --- a/Scripts/mysql-utf8mb4.sql +++ b/Scripts/mysql-utf8mb4.sql @@ -135,7 +135,7 @@ CREATE TABLE sogo_quick_contact ( c_telephonenumber varchar(255) DEFAULT NULL, c_categories varchar(255) DEFAULT NULL, c_component varchar(10) NOT NULL, - c_hascertificate int(11) DEFAULT NULL, + c_hascertificate int(11) DEFAULT 0, PRIMARY KEY (c_folder_id,c_name) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC;