2019-03-05 15:03:05 +01:00
|
|
|
START TRANSACTION;
|
|
|
|
|
2019-02-28 18:18:20 +01:00
|
|
|
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 ;
|
|
|
|
|
2019-03-05 15:03:05 +01:00
|
|
|
ALTER TABLE `treport_content` ADD COLUMN `show_extended_events` tinyint(1) default '0';
|
2019-03-27 17:38:08 +01:00
|
|
|
|
2019-03-19 17:33:39 +01:00
|
|
|
UPDATE `treport_content` SET type="netflow_summary" WHERE type="netflow_pie" OR type="netflow_statistics";
|
|
|
|
|
2019-03-20 17:19:56 +01:00
|
|
|
UPDATE `tnetflow_filter` SET aggregate="dstip" WHERE aggregate NOT IN ("dstip", "srcip", "dstport", "srcport");
|
2019-03-08 10:01:55 +01:00
|
|
|
|
2019-03-27 17:38:08 +01:00
|
|
|
ALTER TABLE tagent_custom_fields ADD COLUMN `combo_values` VARCHAR(255) DEFAULT '';
|
2019-03-05 15:03:05 +01:00
|
|
|
|
2019-03-25 17:32:18 +01:00
|
|
|
ALTER TABLE `trecon_task` ADD COLUMN `summary` text;
|
|
|
|
|
2019-03-08 10:01:55 +01:00
|
|
|
COMMIT;
|