Changeset 867 for trunk/Application/UpdateTrace.php
- Timestamp:
- Jan 13, 2020, 12:26:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r862 r867 2063 2063 $Manager->Execute('ALTER TABLE `NetworkInterfaceUpDown` ADD INDEX ( `Previous` )'); 2064 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))'); 2065 } 2066 2067 function UpdateTo867($Manager) 2068 { 2069 $Manager->Execute('CREATE TABLE IF NOT EXISTS `NotifyLog` ( 2070 `Id` int(11) NOT NULL AUTO_INCREMENT, 2071 `Time` datetime NOT NULL, 2072 `Title` varchar(255) NOT NULL DEFAULT "", 2073 `Content` mediumtext NOT NULL DEFAULT "", 2074 PRIMARY KEY (`Id`), 2075 KEY `Time` (`Time`) 2076 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;'); 2077 2065 2078 } 2066 2079 … … 2162 2175 844 => array('Revision' => 855, 'Function' => 'UpdateTo855'), 2163 2176 855 => array('Revision' => 862, 'Function' => 'UpdateTo862'), 2177 862 => array('Revision' => 867, 'Function' => 'UpdateTo867'), 2164 2178 )); 2165 2179 }
Note:
See TracChangeset
for help on using the changeset viewer.