Changeset 862 for trunk/Application
- Timestamp:
- Oct 4, 2019, 9:37:59 AM (5 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r855 r862 2056 2056 $Manager->Execute('ALTER TABLE `NetworkDeviceLog` 2057 2057 ADD CONSTRAINT `NetworkDeviceLog_ibfk_1` FOREIGN KEY (`Device`) REFERENCES `NetworkDevice` (`Id`);'); 2058 } 2059 2060 function UpdateTo862($Manager) 2061 { 2062 $Manager->Execute('ALTER TABLE `NetworkInterfaceUpDown` ADD `Previous` INT NULL AFTER `Duration`'); 2063 $Manager->Execute('ALTER TABLE `NetworkInterfaceUpDown` ADD INDEX ( `Previous` )'); 2064 $Manager->Execute('UPDATE `NetworkInterfaceUpDown` AS T1, `NetworkInterfaceUpDown` AS T2 SET T1.Previous = T2.Id WHERE (T1.Previous IS NULL) AND (T2.Interface=T1.Interface) AND (T1.Time = DATE_ADD(T2.Time, INTERVAL T2.Duration SECOND))'); 2058 2065 } 2059 2066 … … 2154 2161 838 => array('Revision' => 844, 'Function' => 'UpdateTo844'), 2155 2162 844 => array('Revision' => 855, 'Function' => 'UpdateTo855'), 2163 855 => array('Revision' => 862, 'Function' => 'UpdateTo862'), 2156 2164 )); 2157 2165 } -
trunk/Application/Version.php
r858 r862 1 1 <?php 2 2 3 $Revision = 8 57; // Subversion revision4 $DatabaseRevision = 8 55; // SQL structure revision5 $ReleaseTime = strtotime('2019- 05-08');3 $Revision = 862; // Subversion revision 4 $DatabaseRevision = 862; // SQL structure revision 5 $ReleaseTime = strtotime('2019-10-04');
Note:
See TracChangeset
for help on using the changeset viewer.