mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Added tnetwork_matrix table
Former-commit-id: c933f5c00d68dd459ca15176dbc1a914f2b7ea32
This commit is contained in:
parent
7b5d585f6d
commit
50155dd10b
@ -2,4 +2,16 @@ 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user