diff --git a/src/test/resources/demo-user.sql b/src/test/resources/demo-user.sql index 4e0822e..6c16772 100644 --- a/src/test/resources/demo-user.sql +++ b/src/test/resources/demo-user.sql @@ -25,7 +25,7 @@ CREATE TABLE `user` ( `password` varchar(255) NOT NULL, `nick_name` varchar(255) DEFAULT NULL, `sex` int(1) DEFAULT NULL, - `register_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, + `register_date` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;