diff --git a/harmonylife.sql b/harmonylife_20241009_新增验证码记录表.sql similarity index 98% rename from harmonylife.sql rename to harmonylife_20241009_新增验证码记录表.sql index 3ceaa4f..c3fa9ef 100644 --- a/harmonylife.sql +++ b/harmonylife_20241009_新增验证码记录表.sql @@ -38,13 +38,13 @@ CREATE TABLE `agent_info` ( DROP TABLE IF EXISTS `log_captcha`; CREATE TABLE `log_captcha` ( `id` bigint NOT NULL COMMENT '验证码id', - `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户账号', - `code` char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '验证码', + `username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号', + `code` char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '验证码', `status` tinyint(1) NOT NULL COMMENT ' 1:有效 0:无效 2:已被使用', `valid_time` datetime NOT NULL COMMENT '有效时间', `create_time` datetime NOT NULL COMMENT '创建时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of log_captcha