Changeset 878 for trunk/Application/UpdateTrace.php
- Timestamp:
- Jun 25, 2020, 10:21:26 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r874 r878 2109 2109 $Manager->Execute('UPDATE `NetworkSubnet` SET `MaskIPv6`=64 WHERE `AddressRangeIPv6` != ""'); 2110 2110 $Manager->Execute('UPDATE `NetworkSubnet` SET `AddressRangeIPv6` = REPLACE(`AddressRangeIPv6`, "/64", "")'); 2111 } 2112 2113 function UpdateTo878($Manager) 2114 { 2115 $Manager->Execute('ALTER TABLE `NewsImport` ADD `Method` VARCHAR(255) NOT NULL AFTER `Category`;'); 2116 $Manager->Execute('ALTER TABLE `NewsImport` ADD PRIMARY KEY (`Id`);'); 2117 $Manager->Execute('ALTER TABLE `NewsImport` MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;'); 2111 2118 } 2112 2119 … … 2211 2218 867 => array('Revision' => 869, 'Function' => 'UpdateTo869'), 2212 2219 869 => array('Revision' => 870, 'Function' => 'UpdateTo870'), 2220 870 => array('Revision' => 878, 'Function' => 'UpdateTo878'), 2213 2221 ); 2214 2222 }
Note:
See TracChangeset
for help on using the changeset viewer.