Added tnetwork_matrix table

Former-commit-id: c933f5c00d68dd459ca15176dbc1a914f2b7ea32
This commit is contained in:
fermin831 2019-02-21 18:44:40 +01:00
parent 7b5d585f6d
commit 50155dd10b

View File

@ -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;