From 9fe57cfa43eeae7defe04d493ec6e2483c215721 Mon Sep 17 00:00:00 2001 From: paulGao Date: Thu, 21 Apr 2022 15:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E7=AD=BE=E5=88=B0=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=AD=BE=E5=88=B0=E6=97=A5=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init/mysql/lilishop.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init/mysql/lilishop.sql b/init/mysql/lilishop.sql index 14e8261..fbc99a0 100644 --- a/init/mysql/lilishop.sql +++ b/init/mysql/lilishop.sql @@ -6179,18 +6179,17 @@ CREATE TABLE `li_member_sign` ( `member_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员用户ID', `member_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '会员用户名', `sign_day` int DEFAULT NULL COMMENT '连续签到天数', + day int DEFAULT NULL COMMENT '签到日', PRIMARY KEY (`id`) USING BTREE, INDEX query_create_time (`create_time`) COMMENT 'query_create_time', INDEX query_member_id (`member_id`) COMMENT 'query_member_id', - unique uk_member_day (member_id, create_time) COMMENT 'uk_member_day' + unique uk_member_day (member_id, day) COMMENT 'uk_member_day' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; -- ---------------------------- -- Records of li_member_sign -- ---------------------------- BEGIN; -INSERT INTO `li_member_sign` VALUES (1423214154625388545, '2021-08-05 17:27:51.161000', '1376417684140326912', '13011111111', 1); -INSERT INTO `li_member_sign` VALUES (1431159061017071618, '2021-08-27 15:38:04.457000', '1376417684140326912', '13011111111', 1); COMMIT; -- ----------------------------