mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Move network matrix mr
Former-commit-id: 18227212ce8961c9dae24939fa364c03e6f7dff8
This commit is contained in:
parent
50155dd10b
commit
2e9322515d
@ -2,16 +2,4 @@ START TRANSACTION;
|
|||||||
|
|
||||||
ALTER TABLE `treport` ADD COLUMN `orientation` varchar(25) NOT NULL default 'vertical';
|
ALTER TABLE `treport` ADD COLUMN `orientation` varchar(25) NOT NULL default 'vertical';
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `tnetwork_matrix` (
|
|
||||||
`id` int(10) unsigned NOT NULL auto_increment,
|
|
||||||
`source` varchar(60) default '',
|
|
||||||
`destination` varchar(60) default '',
|
|
||||||
`utimestamp` bigint(20) default 0,
|
|
||||||
`bytes` int(18) unsigned default 0,
|
|
||||||
`pkts` int(18) unsigned default 0,
|
|
||||||
PRIMARY KEY (`id`),
|
|
||||||
UNIQUE (`source`, `destination`, `utimestamp`)
|
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET=utf8 ;
|
|
||||||
|
|
||||||
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
14
pandora_console/extras/mr/25.sql
Normal file
14
pandora_console/extras/mr/25.sql
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
START TRANSACTION;
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `tnetwork_matrix` (
|
||||||
|
`id` int(10) unsigned NOT NULL auto_increment,
|
||||||
|
`source` varchar(60) default '',
|
||||||
|
`destination` varchar(60) default '',
|
||||||
|
`utimestamp` bigint(20) default 0,
|
||||||
|
`bytes` int(18) unsigned default 0,
|
||||||
|
`pkts` int(18) unsigned default 0,
|
||||||
|
PRIMARY KEY (`id`),
|
||||||
|
UNIQUE (`source`, `destination`, `utimestamp`)
|
||||||
|
) ENGINE = InnoDB DEFAULT CHARSET=utf8 ;
|
||||||
|
|
||||||
|
COMMIT;
|
Loading…
x
Reference in New Issue
Block a user