fix(sql):增加串联设备局点ip对照表

This commit is contained in:
doufenghu
2018-11-14 14:14:31 +08:00
parent 413434fcec
commit 2e66aeb4a7
2 changed files with 15 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ DROP TABLE IF EXISTS `ntc_lwhh_report`;
DROP TABLE IF EXISTS `ntc_lwhh_stat_daily`;
DROP TABLE IF EXISTS `ntc_lwhh_stat_hour`;
DROP TABLE IF EXISTS `pz_control_report`;
DROP TABLE IF EXISTS `ntc_device_info`;
DROP TABLE IF EXISTS `ntc_pz_report`;
DROP TABLE IF EXISTS `ntc_pz_stat_daily`;
DROP TABLE IF EXISTS `ntc_pz_stat_hour`;
@@ -389,6 +390,18 @@ CREATE TABLE `pz_control_report` (
/*Table structure for table `ntc_device_info` */
CREATE TABLE `ntc_device_info` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`entrance_id` INT(11) NOT NULL,
`link_id` INT(11) NOT NULL,
`manager_ip` VARCHAR(128) NOT NULL,
`create_time` DATETIME DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
/*Table structure for table `ntc_pz_stat_daily` */