Files
be.ems/build/database/std/install/ue_event_amf.sql
2025-09-15 11:00:34 +08:00

17 lines
850 B
SQL

--
-- Table structure for table `ue_event_amf`
--
DROP TABLE IF EXISTS `ue_event_amf`;
CREATE TABLE `ue_event_amf` (
`id` int NOT NULL AUTO_INCREMENT,
`ne_id` bigint DEFAULT '0' COMMENT '网元ID',
`record_time` bigint DEFAULT '0' COMMENT '记录时间',
`created_time` bigint DEFAULT '0' COMMENT '记录创建存储毫秒',
`event_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '事件类型',
`event_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT 'data JSON String',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_ue_ne_type_at` (`ne_id` DESC,`event_type` DESC, `created_time` DESC) USING BTREE COMMENT '索引-网元_类型_时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='UE事件_AMF终端接入';
-- Dump completed on 2025-09-11 15:26:56