会员签到表增加签到日字段

master
paulGao 2022-04-21 15:27:19 +08:00
parent 314be99310
commit 9fe57cfa43
1 changed files with 2 additions and 3 deletions

View File

@ -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;
-- ----------------------------