初始化小程序端

This commit is contained in:
2025-12-11 11:06:11 +08:00
parent a2c0d17210
commit f9988ae675
531 changed files with 235994 additions and 114 deletions

View File

@@ -11,7 +11,7 @@
Target Server Version : 120002 (12.0.2-MariaDB)
File Encoding : 65001
Date: 07/11/2025 15:03:55
Date: 05/12/2025 11:40:09
*/
SET NAMES utf8mb4;
@@ -34,13 +34,16 @@ CREATE TABLE `xcx_conversation` (
`CreateTime` datetime NULL DEFAULT current_timestamp() COMMENT '创建时间',
`Latitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '纬度',
`Longitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '经度',
`Guid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'GUID',
`SpeakingTime` int(11) NULL DEFAULT NULL COMMENT '对话时长',
PRIMARY KEY (`Id`) USING BTREE,
INDEX `idx_userkey`(`UserKey` ASC) USING BTREE,
INDEX `idx_utcstamp`(`RecordTimeUTCStamp` ASC) USING BTREE,
INDEX `idx_deleted`(`IsDeleted` ASC) USING BTREE,
INDEX `idx_recordtime`(`RecordTime` ASC) USING BTREE,
INDEX `idx_messagetype`(`MessageType` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 57 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会话记录表' ROW_FORMAT = Dynamic;
INDEX `idx_messagetype`(`MessageType` ASC) USING BTREE,
INDEX `idx_guid`(`Guid` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 418 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会话记录表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Table structure for xcx_log
@@ -78,6 +81,6 @@ CREATE TABLE `xcx_users` (
UNIQUE INDEX `idx_userkey`(`UserKey` ASC) USING BTREE,
INDEX `idx_disabled`(`IsDisabled` ASC) USING BTREE,
INDEX `idx_logintime`(`FirstLoginTime` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '小程序用户表' ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '小程序用户表' ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;