Changeset 817 for trunk/Application/UpdateTrace.php
- Timestamp:
- Mar 16, 2016, 8:51:59 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r814 r817 1970 1970 $Manager->Execute('ALTER TABLE `NetworkDevice` CHANGE `LastOnline` `LastOnline` DATETIME NULL;'); 1971 1971 $Manager->Execute('UPDATE `NetworkDevice` SET `LastOnline` = NULL WHERE `LastOnline` = "0000-00-00 00:00:00"'); 1972 } 1973 1974 function UpdateTo817($Manager) 1975 { 1976 $Manager->Execute('ALTER TABLE `NetworkConfiguration` ADD `SysName` VARCHAR(255) NOT NULL FIRST;'); 1977 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="LinuxDNS" WHERE `Id`=1'); 1978 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="LinuxIptables" WHERE `Id`=2'); 1979 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="LinuxTrafficShaping" WHERE `Id`=3'); 1980 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="LinuxDHCP" WHERE `Id`=4'); 1981 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="LinuxVPN" WHERE `Id`=5'); 1982 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosDHCP" WHERE `Id`=7'); 1983 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosNetwatch" WHERE `Id`=8'); 1984 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosQueue" WHERE `Id`=9'); 1985 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosFirewallNAT" WHERE `Id`=10'); 1986 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosFirewallMangle" WHERE `Id`=11'); 1987 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosFirewallFilter" WHERE `Id`=12'); 1988 $Manager->Execute('UPDATE `NetworkConfiguration` SET `SysName`="RouterosDNS" WHERE `Id`=13'); 1989 $Manager->Execute('ALTER TABLE `NetworkConfiguration` DROP `Execute`;'); 1972 1990 } 1973 1991 … … 2061 2079 807 => array('Revision' => 808, 'Function' => 'UpdateTo808'), 2062 2080 808 => array('Revision' => 814, 'Function' => 'UpdateTo814'), 2081 814 => array('Revision' => 817, 'Function' => 'UpdateTo817'), 2063 2082 )); 2064 2083 }
Note:
See TracChangeset
for help on using the changeset viewer.