From fee94026fb80c925adaeb56f0827806b8d357859 Mon Sep 17 00:00:00 2001 From: toogee Date: Sat, 23 May 2020 22:21:24 +0800 Subject: [PATCH] =?UTF-8?q?sql=E6=95=B0=E6=8D=AE=E5=BA=93=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/install/data/taoler.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/install/data/taoler.sql b/app/install/data/taoler.sql index 10611f0..1f3d8d8 100644 --- a/app/install/data/taoler.sql +++ b/app/install/data/taoler.sql @@ -259,9 +259,9 @@ CREATE TABLE `tao_message` ( `user_id` int(11) NOT NULL COMMENT '发送人ID', `link` varchar(255) COMMENT '链接', `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '消息类型0系统消息1普通消息', - `create_time` int(11) NOT NULL COMMENT '创建时间', - `update_time` int(11) NOT NULL COMMENT '更新时间', - `delete_time` int(11) NOT NULL COMMENT '删除时间', + `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `update_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间', + `delete_time` int(11) NOT NULL DEFAULT '0' COMMENT '删除时间', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;