From 5a9036250dd6bb9d7cf8e08df3e9cbd53bd1991f Mon Sep 17 00:00:00 2001 From: callmeyan Date: Mon, 21 Nov 2022 17:39:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E5=88=B0=E8=A1=A8=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5=E5=85=81=E8=AE=B8=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/src/main/resources/db.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/resources/db.sql b/api/src/main/resources/db.sql index 6c814ce..c38fc6c 100644 --- a/api/src/main/resources/db.sql +++ b/api/src/main/resources/db.sql @@ -41,5 +41,5 @@ create table sign_record uid int(10) not null, point int(10) not null, ip varchar(50) not null, - create_time datetime not null + create_time datetime default current_timestamp ) engine = innodb comment '打卡记录表'; \ No newline at end of file