Changeset 824 for trunk/Application/UpdateTrace.php
- Timestamp:
- Apr 4, 2016, 8:41:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r818 r824 2005 2005 $Manager->Execute('ALTER TABLE `NetworkPortUpDown` 2006 2006 ADD CONSTRAINT `NetworkPortUpDown_ibfk_1` FOREIGN KEY (`Port`) REFERENCES `NetworkPort` (`Id`);'); 2007 } 2008 2009 function UpdateTo824($Manager) 2010 { 2011 $Manager->Execute('CREATE TABLE IF NOT EXISTS `NetworkInterfaceLatency` ( 2012 `Id` int(11) NOT NULL AUTO_INCREMENT, 2013 `Time` datetime NOT NULL, 2014 `Interface` int(11) NOT NULL, 2015 `Value` float NOT NULL, 2016 PRIMARY KEY (`Id`), 2017 KEY `Interface` (`Interface`) 2018 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;'); 2019 $Manager->Execute('ALTER TABLE `NetworkInterfaceLatency` 2020 ADD CONSTRAINT `NetworkInterfaceLatency_ibfk_1` FOREIGN KEY (`Interface`) REFERENCES `NetworkInterface` (`Id`);'); 2007 2021 } 2008 2022 … … 2098 2112 814 => array('Revision' => 817, 'Function' => 'UpdateTo817'), 2099 2113 817 => array('Revision' => 818, 'Function' => 'UpdateTo818'), 2114 818 => array('Revision' => 824, 'Function' => 'UpdateTo824'), 2100 2115 )); 2101 2116 }
Note:
See TracChangeset
for help on using the changeset viewer.