db: 增加61850下载表

main
huangfeng 8 months ago
parent 58e2519829
commit 0d638625fc

@ -2058,6 +2058,60 @@ LOCK TABLES `icd_transform` WRITE;
/*!40000 ALTER TABLE `icd_transform` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ied_dl_config`
--
DROP TABLE IF EXISTS `ied_dl_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ied_dl_config` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ied_id` int(11) DEFAULT NULL,
`dev_id` int(11) DEFAULT NULL COMMENT '装置ID',
`path` varchar(2000) DEFAULT NULL COMMENT '目录',
`suffix` varchar(45) DEFAULT NULL COMMENT '后缀名',
`todel` int(11) DEFAULT NULL COMMENT '下载后删除',
`active` int(11) DEFAULT NULL COMMENT '0:停用; 1:启用;',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ied_dl_config`
--
LOCK TABLES `ied_dl_config` WRITE;
/*!40000 ALTER TABLE `ied_dl_config` DISABLE KEYS */;
/*!40000 ALTER TABLE `ied_dl_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ied_dl_record`
--
DROP TABLE IF EXISTS `ied_dl_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ied_dl_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`config_id` int(11) DEFAULT NULL,
`filename` varchar(45) DEFAULT NULL COMMENT '文件名',
`path` varchar(200) DEFAULT NULL COMMENT '路径',
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ied_dl_record`
--
LOCK TABLES `ied_dl_record` WRITE;
/*!40000 ALTER TABLE `ied_dl_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `ied_dl_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jg`
--
@ -2802,4 +2856,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2024-10-14 13:59:03
-- Dump completed on 2024-10-24 9:38:30

Loading…
Cancel
Save