sql: 更新表索引命名

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

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ CREATE TABLE `kpi_c_report` (
`kpi_values` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT 'KPI values JSON String',
`created_at` bigint DEFAULT '0' COMMENT 'Creation time 接收到的timestamp秒级存储毫秒时间戳',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_uid_at` (`rm_uid`,`created_at`) USING BTREE
KEY `idx_c_uid_at` (`rm_uid`,`created_at`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='KPI_自定义指标数据记录基础表结构';
SET FOREIGN_KEY_CHECKS = 1;