Skip to content

Commit 82b3363

Browse files
author
hengming.lhm
committed
fix & close issue #60
1 parent 5f56ae5 commit 82b3363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/resources/demo-user.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ CREATE TABLE `user` (
2525
`password` varchar(255) NOT NULL,
2626
`nick_name` varchar(255) DEFAULT NULL,
2727
`sex` int(1) DEFAULT NULL,
28-
`register_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
28+
`register_date` datetime NOT NULL,
2929
PRIMARY KEY (`id`)
3030
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
3131

0 commit comments

Comments
 (0)