Changeset 510 for trunk/admin/UpdateTrace.php
- Timestamp:
- Feb 15, 2013, 11:02:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r508 r510 2395 2395 } 2396 2396 2397 function UpdateTo510($Manager) 2398 { 2399 global $System; 2400 2401 $Manager->Execute('ALTER TABLE `News` ADD `Title` VARCHAR( 255 ) NOT NULL AFTER `Time`'); 2402 $Manager->Execute('UPDATE `News` SET `Title` = (SELECT `Name` FROM `User` AS `T` WHERE `T`.`ID` = `User`)'); 2403 } 2404 2397 2405 $Updates = array( 2398 2406 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), 2407 506 => array('Revision' => 510, 'Function' => 'UpdateTo510'), 2399 2408 ); 2400 2409
Note:
See TracChangeset
for help on using the changeset viewer.