Changeset 493 for trunk/admin/Updates.php
- Timestamp:
- Mar 1, 2013, 9:20:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/Updates.php
r491 r493 1 1 <?php 2 2 3 function UpdateTo 510($Manager)3 function UpdateTo493($Manager) 4 4 { 5 global $System; 6 7 $Manager->Execute('ALTER TABLE `News` ADD `Title` VARCHAR( 255 ) NOT NULL AFTER `Time`'); 8 $Manager->Execute('UPDATE `News` SET `Title` = (SELECT `Name` FROM `User` AS `T` WHERE `T`.`ID` = `User`)'); 5 $Manager->Execute("ALTER TABLE `UserOnline` CHANGE `User` `User` INT( 11 ) NULL DEFAULT NULL COMMENT 'User.Id'"); 9 6 } 10 7 11 8 $Updates = array( 12 491 => array('Revision' => 49 2, 'Function' => 'UpdateTo492'),9 491 => array('Revision' => 493, 'Function' => 'UpdateTo493'), 13 10 ); 14 11
Note:
See TracChangeset
for help on using the changeset viewer.