Changeset 870 for trunk/Application/UpdateTrace.php
- Timestamp:
- Apr 3, 2020, 12:30:49 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r869 r870 2102 2102 "VALUES (NULL , 'Omezenà rychlosti', ".$DbRow['Id'].", '".$ActionId."', '1');"); 2103 2103 } 2104 } 2105 2106 function UpdateTo870($Manager) 2107 { 2108 $Manager->Execute('ALTER TABLE `NetworkSubnet`ADD COLUMN `MaskIPv6` INT(11) NOT NULL AFTER `AddressRangeIPv6`;'); 2109 $Manager->Execute('UPDATE `NetworkSubnet` SET `MaskIPv6`=64 WHERE `AddressRangeIPv6` != ""'); 2110 $Manager->Execute('UPDATE `NetworkSubnet` SET `AddressRangeIPv6` = REPLACE(`AddressRangeIPv6`, "/64", "")'); 2104 2111 } 2105 2112 … … 2203 2210 862 => array('Revision' => 867, 'Function' => 'UpdateTo867'), 2204 2211 867 => array('Revision' => 869, 'Function' => 'UpdateTo869'), 2212 869 => array('Revision' => 870, 'Function' => 'UpdateTo870'), 2205 2213 )); 2206 2214 }
Note:
See TracChangeset
for help on using the changeset viewer.