We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f56ae5 commit 82b3363Copy full SHA for 82b3363
src/test/resources/demo-user.sql
@@ -25,7 +25,7 @@ CREATE TABLE `user` (
25
`password` varchar(255) NOT NULL,
26
`nick_name` varchar(255) DEFAULT NULL,
27
`sex` int(1) DEFAULT NULL,
28
- `register_date` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
+ `register_date` datetime NOT NULL,
29
PRIMARY KEY (`id`)
30
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
31
0 commit comments