Skip to content

Commit 8d78298

Browse files
authored
Merge pull request chenlinzhong#8 from arthasking123/master
update dq_stat time field
2 parents 186563d + 49b6efc commit 8d78298

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dq.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ CREATE TABLE `dq_stat` (
3737
`id` int(11) NOT NULL AUTO_INCREMENT,
3838
`u_key` varchar(255) NOT NULL DEFAULT '',
3939
`num` int(11) NOT NULL DEFAULT '0',
40-
`create_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
41-
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
40+
`create_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ,
41+
`update_time` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
4242
PRIMARY KEY (`id`),
4343
UNIQUE KEY `u_key` (`u_key`)
4444
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;

0 commit comments

Comments
 (0)