From 6d804d1a95f999110f15bf682b22949654741f78 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Fri, 23 Feb 2018 16:12:59 +0100 Subject: [PATCH] [fix] fixing lastlogin default value for mariadb (which is more strict...) --- install/mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/mysql.sql b/install/mysql.sql index 19fcd336..8a339b25 100644 --- a/install/mysql.sql +++ b/install/mysql.sql @@ -259,7 +259,7 @@ CREATE TABLE IF NOT EXISTS `mailbox` ( `update_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- Update date, for technical usage only. `bytes` bigint(20) NOT NULL DEFAULT '0', -- number of bytes in the mailbox, filled by dovecot `messages` int(11) NOT NULL DEFAULT '0', -- number of messages in the mailbox, filled by dovecot - `lastlogin` datetime NOT NULL DEFAULT '0', -- Last login, filled by dovecot + `lastlogin` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', -- Last login, filled by dovecot `mail_action` enum('OK','DELETE','DELETING') NOT NULL default 'OK', -- mail_action is DELETE or DELETING when deleting a mailbox by cron PRIMARY KEY (`id`), UNIQUE KEY `address_id` (`address_id`)