sql数据库时间默认值
This commit is contained in:
parent
09b5690996
commit
fee94026fb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user