minor fix mr
This commit is contained in:
parent
4c332a3543
commit
7f1d4725bd
|
@ -24,22 +24,13 @@ CREATE TABLE `tdiscovery_tmp_agents` (
|
||||||
CREATE TABLE `tdiscovery_tmp_connections` (
|
CREATE TABLE `tdiscovery_tmp_connections` (
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`id_rt` int(10) unsigned NOT NULL,
|
`id_rt` int(10) unsigned NOT NULL,
|
||||||
`id1` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`dev_1` text,
|
||||||
`id2` int(10) unsigned NOT NULL,
|
`dev_2` text,
|
||||||
`if1` text,
|
`if_1` text,
|
||||||
`if2` text,
|
`if_2` text,
|
||||||
PRIMARY KEY (`id1`,`id2`),
|
PRIMARY KEY (`id`)
|
||||||
CONSTRAINT `tdtc_trt` FOREIGN KEY (`id_rt`)
|
|
||||||
REFERENCES `trecon_task` (`id_rt`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
||||||
CONSTRAINT `tdtc_tdta1` FOREIGN KEY (`id1`)
|
|
||||||
REFERENCES `tdiscovery_tmp_agents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
|
||||||
CONSTRAINT `tdtc_tdta2` FOREIGN KEY (`id2`)
|
|
||||||
REFERENCES `tdiscovery_tmp_agents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- ----------------------------------------------------------------------
|
|
||||||
-- New table `tpen`
|
|
||||||
-- ----------------------------------------------------------------------
|
|
||||||
CREATE TABLE `tpen` (
|
CREATE TABLE `tpen` (
|
||||||
`pen` int(10) unsigned NOT NULL,
|
`pen` int(10) unsigned NOT NULL,
|
||||||
`manufacturer` TEXT,
|
`manufacturer` TEXT,
|
||||||
|
@ -47,9 +38,6 @@ CREATE TABLE `tpen` (
|
||||||
PRIMARY KEY (`pen`)
|
PRIMARY KEY (`pen`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- ----------------------------------------------------------------------
|
|
||||||
-- Table `tnetwork_profile_pen`
|
|
||||||
-- ----------------------------------------------------------------------
|
|
||||||
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
CREATE TABLE IF NOT EXISTS `tnetwork_profile_pen` (
|
||||||
`pen` int(10) unsigned NOT NULL,
|
`pen` int(10) unsigned NOT NULL,
|
||||||
`id_np` int(10) unsigned NOT NULL,
|
`id_np` int(10) unsigned NOT NULL,
|
||||||
|
|
Loading…
Reference in New Issue