--
-- Table structure for table `ue_event`
--
DROP TABLE IF EXISTS `ue_event`;
CREATE TABLE `ue_event` (
  `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事件_基础表结构';
