sql: 更新表索引命名

This commit is contained in:
TsMask
2025-02-20 21:11:54 +08:00
parent 333b9fb053
commit 0bfd3e2b85
10 changed files with 24 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ CREATE TABLE `ue_event` (
`event_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
`created_at` bigint DEFAULT '0' COMMENT '记录创建存储毫秒',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_type_timestamp` (`event_type`,`timestamp`) USING BTREE
KEY `idx_type_t` (`event_type`,`timestamp`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='UE事件_基础表结构';
-- Dump completed on 2025-02-14 15:26:56