Changeset 600 for trunk/admin/UpdateTrace.php
- Timestamp:
- Nov 25, 2013, 9:48:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/UpdateTrace.php
r585 r600 2515 2515 function UpdateTo510($Manager) 2516 2516 { 2517 global $System;2518 2519 2517 $Manager->Execute('ALTER TABLE `News` ADD `Title` VARCHAR( 255 ) NOT NULL AFTER `Time`'); 2520 2518 $Manager->Execute('UPDATE `News` SET `Title` = (SELECT `Name` FROM `User` AS `T` WHERE `T`.`ID` = `User`)'); … … 2523 2521 function UpdateTo524($Manager) 2524 2522 { 2525 global $System;2526 2527 2523 $Manager->Execute('ALTER TABLE `User` ADD `PreferredVersion` INT NULL DEFAULT NULL'); 2528 2524 $Manager->Execute('ALTER TABLE `User` ADD INDEX ( `PreferredVersion` )'); … … 2613 2609 } 2614 2610 2611 function UpdateTo600($Manager) 2612 { 2613 $Manager->Execute("INSERT INTO `LogType` (`Id` ,`Name` ,`Color` ,`Description`) 2614 VALUES (NULL , 'Nenalezené', 'teal', 'Nenalezené stránky');"); 2615 } 2616 2615 2617 $Updates = array( 2616 2618 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), … … 2623 2625 567 => array('Revision' => 574, 'Function' => 'UpdateTo574'), 2624 2626 574 => array('Revision' => 585, 'Function' => 'UpdateTo585'), 2627 585 => array('Revision' => 600, 'Function' => 'UpdateTo600'), 2625 2628 );
Note:
See TracChangeset
for help on using the changeset viewer.